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"85µs
And I call "{api}" with "GetServiceAPI" using argument "{service-type}"64µs
And I refer to "{result}" as "theService"60µs
Given I call "{api}" with "GetServiceAPI" using argument "logging"1ms
And I refer to "{result}" as "loggingService"72µs
When I call "{theService}" with "UpdateResourcePolicy"74µs
Then "{result}" is not an error110µs
And I attach "{result}" to the test output as "Policy Update Result"39µs
And we wait for a period of "10000" ms10s
When I call "{loggingService}" with "QueryLogs" using arguments "{resource-name}", "admin", and "{20}"933ms
Then "{result}" is not an error29µs
And I refer to "{result}" as "adminLogs"21µs
And I attach "{adminLogs}" to the test output as "Admin Activity Logs"64µs
Then "{adminLogs}" is an array of objects with at least the following contents
32µsexpected row not found: map[result:Succeeded]
📎 Attachments:Policy Update Result
View JSON (4 bytes)
null
Admin Activity Logs
View JSON (2 bytes)
[]