mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
428 B
17 lines
428 B
from django.conf.urls import url
|
|
from rest_framework import routers
|
|
|
|
from .. import api
|
|
|
|
app_name = 'audits'
|
|
|
|
router = routers.DefaultRouter()
|
|
router.register(r'v1/proxy-log', api.ProxyLogViewSet, 'proxy-log')
|
|
router.register(r'v1/command-log', api.CommandLogViewSet, 'command-log')
|
|
|
|
urlpatterns = [
|
|
url(r'^v1/proxy-log/receive/$', api.ProxyLogReceiveView.as_view(), name='proxy-log-receive'),
|
|
]
|
|
|
|
urlpatterns += router.urls
|