Scenario: Verify admin actions are logged with identity and timestamp
@CCC.Core @CCC.Core.CN04 @PerService @tlp-amber @tlp-clear @tlp-green @tlp-red @Behavioural @object-storage @virtual-machines @serverless-computingGiven a cloud api for "{config}" in "api"34µs
And I call "{api}" with "GetServiceAPI" using argument "{service-type}"40µs
And I refer to "{result}" as "theService"25µs
Given I call "{api}" with "GetServiceAPI" using argument "logging"254µs
And I refer to "{result}" as "loggingService"16µs
When I call "{theService}" with "UpdateResourcePolicy"56µs
Then "{result}" is not an error18µs
And I attach "{result}" to the test output as "Policy Update Result"36µs
And we wait for a period of "10000" ms10s
When I call "{loggingService}" with "QueryLogs" using arguments "{resource-name}", "admin", and "{20}"1s
Then "{result}" is not an error26µs
And I refer to "{result}" as "adminLogs"20µs
And I attach "{adminLogs}" to the test output as "Admin Activity Logs"94µs
Then "{adminLogs}" is an array of objects with at least the following contents
66µsexpected row not found: map[result:Succeeded]
📎 Attachments:Policy Update Result
View JSON (4 bytes)
null
Admin Activity Logs
View JSON (2 bytes)
[]