Skip to content

test: add ACL IPE audit scenarios - #10040

Draft
aadhar-agarwal wants to merge 1 commit into
mainfrom
aadagarwal/acl-ipe-audit-e2e
Draft

aadhar-agarwal wants to merge 1 commit into
mainfrom
aadagarwal/acl-ipe-audit-e2e

Conversation

@aadhar-agarwal

@aadhar-agarwal aadhar-agarwal commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Add AMD64 and ARM64 IPE audit scenarios using the existing ACL image selection and runner behavior. Check active audit policy, signed usr and EROFS configuration, then compare execution from usr with its writable copy. Both must succeed; only the copy should produce an audit denial.

[TEST All VHDs] AKS Linux VHD Build - Msft Tenant - Passed

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Windows Unit Test Results

  3 files   21 suites   55s ⏱️
789 tests 789 ✅ 0 💤 0 ❌
815 runs  815 ✅ 0 💤 0 ❌

Results for commit 8cf2aad.

♻️ This comment has been updated with latest results.

@aadhar-agarwal
aadhar-agarwal force-pushed the aadagarwal/acl-ipe-audit-e2e branch from e43d8cc to b05db1e Compare November 10, 2026 21:57
grep -Eq '(^|[[:space:]])root_hash_sig_key_desc[[:space:]]+[^[:space:]]+' <<< "$table"
}

ipe_check_containerd() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] do we also want to have a check for the non-IPE config making sure overlayfs remains the default?

[[ "$active" == 1 && "$enforce" == 0 ]]
}

ipe_check_signed_verity() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] do we also want to check if the cmdline hash matches the hash in the verity table?

Add AMD64 and ARM64 IPE audit scenarios using the existing ACL image selection and runner behavior. Check active audit policy, signed usr and EROFS configuration, then compare execution from usr with its writable copy. Both must succeed; only the copy should produce an audit denial.

Check that normal ACL nodes retain overlayfs using the running containerd config, and that the signed usr verity root hash matches the boot usrhash. Include focused regression-test source and explanations of the audit evidence safeguards.

Initial audit behavior passed pipeline 190357204 at e43d8cc. Later review changes have not been tested; no further tests were run for the Dallas comment fixes. Source reviewed with Claude Opus 5.5 and Grok 4.7.

Signed-off-by: Aadhar Agarwal <aadagarwal@microsoft.com>
@aadhar-agarwal
aadhar-agarwal force-pushed the aadagarwal/acl-ipe-audit-e2e branch from b05db1e to 8cf2aad Compare November 10, 2026 22:49
@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
test 0% ❌
windows 27% ❌
staging_cse_windows Package 1 71% ➖
debug 0% ❌
provisioningscripts 2% ❌
parts_windows Package 1 73% ➖
Summary 39% (1983 / 7220) ❌

@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
shellspec spec 29% ❌
Summary 29% (4912 / 16736) ❌

@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
github.com/Azure/agentbaker/aks-node-controller 73% ➖
github.com/Azure/agentbaker/aks-node-controller/common 100% ✔
github.com/Azure/agentbaker/aks-node-controller/helpers 68% ➖
github.com/Azure/agentbaker/aks-node-controller/parser 88% ✔
github.com/Azure/agentbaker/aks-node-controller/pkg/gpu 100% ✔
github.com/Azure/agentbaker/aks-node-controller/pkg/nodeconfigutils 92% ✔
github.com/Azure/agentbaker/aks-node-controller/utils 0% ❌
github.com/Azure/agentbaker/apiserver 24% ❌
github.com/Azure/agentbaker/cmd 0% ❌
github.com/Azure/agentbaker/cmd/starter 0% ❌
github.com/Azure/agentbaker/fuzz/api 0% ❌
github.com/Azure/agentbaker/hotfix/render-nodecustomdata 35% ❌
github.com/Azure/agentbaker/pkg/agent 79% ➖
github.com/Azure/agentbaker/pkg/agent/datamodel 77% ➖
github.com/Azure/agentbaker/pkg/agent/toggles 0% ❌
github.com/Azure/agentbaker/pkg/vhdbuilder/datamodel 87% ✔
Summary 76% (6094 / 8040) ➖

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants