From aa951d6004606f485780caea3572abaa625b2104 Mon Sep 17 00:00:00 2001 From: Nathan Oyler Date: Sat, 21 Jan 2023 01:53:02 -0700 Subject: [PATCH 1/2] Update swift_audit_map.yaml --- etc/swift_audit_map.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/swift_audit_map.yaml b/etc/swift_audit_map.yaml index f6c9efa..c9d4318 100644 --- a/etc/swift_audit_map.yaml +++ b/etc/swift_audit_map.yaml @@ -1,6 +1,7 @@ service_type: 'storage/object' service_name: 'swift' +# The prefix is v1, but prefix: '/v1/AUTH_[0-9a-z-]*' is intriguing because of the weird resource beginning that matches to a project uuid i believe. prefix: '/v1' resources: From c09790845e9c7dd1cf98c7a47b43c9cdc0b23b15 Mon Sep 17 00:00:00 2001 From: Nathan Oyler Date: Fri, 3 Feb 2023 09:44:43 -0700 Subject: [PATCH 2/2] attempt to capture project id from url path --- etc/swift_audit_map.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/swift_audit_map.yaml b/etc/swift_audit_map.yaml index c9d4318..3e6adf6 100644 --- a/etc/swift_audit_map.yaml +++ b/etc/swift_audit_map.yaml @@ -2,7 +2,7 @@ service_type: 'storage/object' service_name: 'swift' # The prefix is v1, but prefix: '/v1/AUTH_[0-9a-z-]*' is intriguing because of the weird resource beginning that matches to a project uuid i believe. -prefix: '/v1' +prefix: '/v1/AUTH_(?P[0-9a-f\-]+)' resources: accounts: