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"32µs
And I call "{api}" with "GetServiceAPI" using argument "{service-type}"32µs
And I refer to "{result}" as "theService"21µs
Given I call "{api}" with "GetServiceAPI" using argument "logging"693µs
And I refer to "{result}" as "loggingService"18µs
When I call "{theService}" with "UpdateResourcePolicy"1s
Then "{result}" is not an error25µs
And I attach "{result}" to the test output as "Policy Update Result"33µ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"85µs
Then "{adminLogs}" is an array of objects with at least the following contents
341µsexpected row not found: map[result:Succeeded]
📎 Attachments:Policy Update Result
View JSON (4 bytes)
null
Admin Activity Logs
View JSON (1379 bytes)
[{"resource":"cloud_run_revision","timestamp":"2026-06-16T16:31:38.819958Z","result":"Notice","fields":{"resource.configuration_name":"","resource.location":"us-central1","resource.project_id":"nodal-time-474015-p5","resource.revision_name":"","resource.service_name":"finos-ccc-integration-fn-main"}},{"resource":"cloud_function","timestamp":"2026-06-16T16:31:39.51796967Z","result":"Notice","fields":{"resource.function_name":"finos-ccc-integration-fn-main","resource.project_id":"nodal-time-474015-p5","resource.region":"us-central1"}},{"resource":"cloud_run_revision","timestamp":"2026-06-16T16:32:42.537686Z","result":"Notice","fields":{"resource.configuration_name":"","resource.location":"us-central1","resource.project_id":"nodal-time-474015-p5","resource.revision_name":"","resource.service_name":"finos-ccc-integration-fn-main"}},{"resource":"cloud_function","timestamp":"2026-06-16T16:32:50.123318614Z","result":"Notice","fields":{"resource.function_name":"finos-ccc-integration-fn-main","resource.project_id":"nodal-time-474015-p5","resource.region":"us-central1"}},{"resource":"cloud_run_revision","timestamp":"2026-06-16T16:34:22.506391Z","result":"Notice","fields":{"resource.configuration_name":"","resource.location":"us-central1","resource.project_id":"nodal-time-474015-p5","resource.revision_name":"","resource.service_name":"finos-ccc-integration-fn-main"}}]