Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
truenas-rk3588
truenas
Commits
01099350
Unverified
Commit
01099350
authored
1 year ago
by
Andrew Walker
Committed by
GitHub
1 year ago
Browse files
Options
Download
Email Patches
Plain Diff
Fix returns decorator for audit query items (#13035)
parent
e8713466
test-snmp
NAS-119224
NAS-125227
NAS-125816
NAS-125816-backup
NAS-126958
NAS-127087
NAS-127318
NAS-127543
add-audit-results-cache
add-realm-validation
add-written-counter
audit-cache-pagination
awalker_testing
configurable-testing
expand-api-key-testing
expand-valdiation-smb
fail_test_012
fix-and-improve-audit-query
fix-haad-test
fix-in-rin-filter_list
fix-smbconf-test
improve-audit-query-validation
integration-test-k8s
master
more_nfs_failover_fixes
mrehan/disable-kubernetes-test
mrehan/fix-ups-tests
new-api
new-jenkins
new-jenkins2
refactor-smb
remove-pool-dataset-permission
set-iosqe_async-smb-read
smbaux-testing
sort-enclosures
spaces-tests
test-acl
test-ad
test-refactor-smb
test-refactor-smb2
test-roles
test-runtest-fix
test-smb-comments
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/middlewared/middlewared/plugins/audit/audit.py
+2
-2
src/middlewared/middlewared/plugins/audit/audit.py
with
2 additions
and
2 deletions
+2
-2
src/middlewared/middlewared/plugins/audit/audit.py
View file @
01099350
...
...
@@ -23,7 +23,7 @@ from .schema.smb import AUDIT_EVENT_SMB_JSON_SCHEMAS, AUDIT_EVENT_SMB_PARAM_SET
from
middlewared.client
import
ejson
from
middlewared.plugins.zfs_.utils
import
TNUserProp
from
middlewared.schema
import
(
accepts
,
Bool
,
Dict
,
Int
,
List
,
Patch
,
Ref
,
returns
,
Str
,
UUID
accepts
,
Bool
,
Datetime
,
Dict
,
Int
,
List
,
Patch
,
Ref
,
returns
,
Str
,
UUID
)
from
middlewared.service
import
filterable
,
filterable_returns
,
job
,
private
,
ConfigService
from
middlewared.service_exception
import
CallError
,
ValidationErrors
...
...
@@ -132,7 +132,7 @@ class AuditService(ConfigService):
'audit_entry'
,
UUID
(
'audit_id'
),
Int
(
'message_timestamp'
),
D
ict
(
'timestamp'
,
additional_attrs
=
True
),
D
atetime
(
'timestamp'
),
Str
(
'address'
),
Str
(
'username'
),
UUID
(
'session'
),
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help