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