You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Policy: turning off AWS audit logging (CloudTrail, GuardDuty, Config) waits for a person #403
The second blind E21 pool (#401, written by @amandeavor without reading the rules) turns off audit logging in all three clouds. The server pack holds Google's and Azure's (gcloud logging sinks delete, az monitor log-profiles delete, through TK-C010), but lets AWS's through:
Turning off the audit trail is what someone does before the step they don't want seen, so it should wait for a person like the deletes TK-C010 already holds.
Task: extend TK-C010 in tracekit/policy2/packs/server-cloud.yaml (its AWS part lists each service's deleting commands) so these are held:
aws cloudtrail stop-logging and delete-trail;
the other AWS commands that switch off detection or audit recording, after checking each in the AWS CLI reference: guardduty delete-detector and disassociate-from-master-account, config stop-configuration-recorder and delete-configuration-recorder, securityhub disable-security-hub, access-analyzer delete-analyzer, and cloudtrail put-event-selectors (it can narrow a trail to record nothing; holding every call is fine).
Add the calls to tests/data/policy/deny/cloud.jsonl and the lookalikes to tests/data/policy/benign/cloud.jsonl, with tests in tests/test_signer_policy.py.
Keep the pattern bounded: tests/test_policy2.py times every pattern on 64 KiB inputs on both engines.
Update TK-C010's row in docs/policy-v2.md.
Done when: the commands above are held by the server and strict packs, E17 adds no false alarm (make eval), tracekit policy lint is clean and make test passes. In the PR, also report the #401 pool's score after your change; we keep its first score as the blind one.
Comment here to claim it. Commits need a DCO sign-off (git commit -s).
Activity
WhitePepperLambSoup commentedon Nov 2, 2026
I'd like to take this. I have a fix ready and will open a PR shortly.
LoopGlitch26 commentedon Nov 2, 2026
Assigned to you. In the PR, include the #401 pool's score after your change, as the issue asks.
Policy: turning off AWS audit logging or detection waits for a person (…