Skip to content

Audit log for authorization decisions #9043

Audit log for authorization decisions

Audit log for authorization decisions #9043

Triggered via pull request June 11, 2026 08:16
Status Failure
Total duration 15m 8s
Artifacts 8

ci.yml

on: pull_request
Matrix: containers / containers
db-container  /  db-container
1m 0s
db-container / db-container
windows-installers  /  build
6m 20s
windows-installers / build
Matrix: build
Matrix: container-test / container-test
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 7 warnings, and 11 notices
Linux-Default
Process completed with exit code 1.
Linux-Default
Exit code = 1
Multiple_decisions_accumulate_in_order: /_/src/ServiceControl.Infrastructure.Tests/Auth/AuthorizationAuditLogTests.cs#L72
Assert.That(entries[0].Message, Does.Contain("allow")) Expected: String containing "allow" But was: "Allow: subjectId=alice-sub-001 subjectName=alice permission=error:messages:view resource=(null) reason=role matched"
Decision_deny_emits_one_entry_on_audit_category: /_/src/ServiceControl.Infrastructure.Tests/Auth/AuthorizationAuditLogTests.cs#L44
Assert.That(entries[0].Message, Does.Contain("deny")) Expected: String containing "deny" But was: "Deny: subjectId=bob-sub-002 subjectName=Bob Jones permission=error:messages:retry resource=(null) reason=no matching role"
Decision_allow_emits_one_entry_on_audit_category: /_/src/ServiceControl.Infrastructure.Tests/Auth/AuthorizationAuditLogTests.cs#L26
Assert.That(entries[0].Message, Does.Contain("allow")) Expected: String containing "allow" But was: "Allow: subjectId=alice-sub-001 subjectName=Alice Smith permission=error:messages:retry resource=acme.sales reason=role:reader matched"
Windows-Default
Process completed with exit code 1.
Windows-Default
Exit code = 1
Multiple_decisions_accumulate_in_order: /_/src/ServiceControl.Infrastructure.Tests/Auth/AuthorizationAuditLogTests.cs#L72
Assert.That(entries[0].Message, Does.Contain("allow")) Expected: String containing "allow" But was: "Allow: subjectId=alice-sub-001 subjectName=alice permission=error:messages:view resource=(null) reason=role matched"
Decision_deny_emits_one_entry_on_audit_category: /_/src/ServiceControl.Infrastructure.Tests/Auth/AuthorizationAuditLogTests.cs#L44
Assert.That(entries[0].Message, Does.Contain("deny")) Expected: String containing "deny" But was: "Deny: subjectId=bob-sub-002 subjectName=Bob Jones permission=error:messages:retry resource=(null) reason=no matching role"
Decision_allow_emits_one_entry_on_audit_category: /_/src/ServiceControl.Infrastructure.Tests/Auth/AuthorizationAuditLogTests.cs#L26
Assert.That(entries[0].Message, Does.Contain("allow")) Expected: String containing "allow" But was: "Allow: subjectId=alice-sub-001 subjectName=Alice Smith permission=error:messages:retry resource=acme.sales reason=role:reader matched"
Linux-AzureStorageQueues
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Particular/setup-azurestorage-action@v2.0.0. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=*** environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=***. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
container-test / asq
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Particular/setup-azurestorage-action@v2.0.0. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=*** environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=***. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Linux-PostgreSQL
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Particular/setup-postgres-action@v1.1.0. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=*** environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=***. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Windows-PostgreSQL
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Particular/setup-postgres-action@v1.1.0. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=*** environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=***. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Windows-AzureStorageQueues
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Particular/setup-azurestorage-action@v2.0.0. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=*** environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=***. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Linux-RabbitMQ
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Particular/setup-rabbitmq-action@v1.7.1. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=*** environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=***. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Windows-RabbitMQ
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Particular/setup-rabbitmq-action@v1.7.1. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=*** environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=***. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Windows-SQS
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Windows-MSMQ
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Windows-PostgreSQL
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
windows-installers / build
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Windows-AzureStorageQueues
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Windows-PrimaryRavenPersistence
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Windows-SqlServer
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Windows-AzureServiceBus
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Windows-RabbitMQ
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Windows-Default
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Windows-PrimaryRavenAcceptance
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026

Artifacts

Produced during runtime
Name Size Digest
Linux-assets
333 MB
sha256:8961b1f176935336bd1b501080cdaeba25b727f561d681bfc5fc6458187adf0b
Particular~ServiceControl~PF5RWL.dockerbuild
88.9 KB
sha256:1eda28dc4176e3ddb24681a0374e42b1a225c22eb3666e58f15c101b6db302ae
Particular~ServiceControl~QB3RTA.dockerbuild
85.2 KB
sha256:61dbe8dd4eb9a71adf04f32b15f19ea74c9ef1b4e5d576a5266ffbeb7baa439c
Particular~ServiceControl~WJM04E.dockerbuild
87.9 KB
sha256:0853c6ed6538300db813bcefa41343d563d85e35c16f9e5297575490c103e65c
Windows-assets
324 MB
sha256:355717cab709c2d10e47bf03e677accbbe798096d808fa3e9d9f2edfdce8f0ae
assets
456 MB
sha256:66d270264bd1101fd90d07fe2164df54b766d98f938ee465624e4148f1219322
nugets
26.9 MB
sha256:4b4810e691f6e6f143caf7cd664345fb18359e81e37a7ac999d9be57eac9c0e4
zips
190 MB
sha256:19de8b37be6b5902e8193aa6f4618729a901f100296ddf01441e75119add5e0f