Skip to main content

๐Ÿง  AWS IAM User MFA is not enabled for all users - prod.logic.yaml๐ŸŸข

Usesโ€‹

Test Results ๐ŸŸขโ€‹

Generated at: 2026-01-31T12:02:02.048914688Z Open

ResultIdCondition IndexCondition TextRuntime Error
๐ŸŸขa02โœ”๏ธ 199โœ”๏ธ extract('CA10__credReportMfaActive__c') == trueโœ”๏ธ null
๐ŸŸขa03โœ”๏ธ 200โœ”๏ธ otherwiseโœ”๏ธ null

Generation Bundleโ€‹

FileMD5
Open/ce/ca/aws/iam/mfa-for-all-users/policy.yaml628FA74CF0B838A3068E25664C88DBC8
Open/ce/ca/aws/iam/mfa-for-all-users/prod.logic.yaml21DE5D3742B0AF13B440C354916905FB
Open/ce/ca/aws/iam/mfa-for-all-users/test-data.jsonF2174C2DCB53175E26722B7FDDFAE52D
Open/types/CA10__CaAwsUser__c/credReport.extracts.yamlF6D383D933A0B64268B39ADE7012508C

Available Commandsโ€‹

repo-manager policies generate FULL /ce/ca/aws/iam/mfa-for-all-users/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/iam/mfa-for-all-users/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/iam/mfa-for-all-users/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/iam/mfa-for-all-users/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/iam/mfa-for-all-users/prod.logic.yaml

Contentโ€‹

Open File

---
inputType: "CA10__CaAwsUser__c"
testData:
- file: test-data.json
importExtracts:
- file: /types/CA10__CaAwsUser__c/credReport.extracts.yaml
conditions:
- status: "COMPLIANT"
currentStateMessage: "MFA Enabled for this user"
check:
IS_EQUAL:
left:
EXTRACT: CA10__credReportMfaActive__c
right:
BOOLEAN: true
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "MFA is not enabled for this user"
remediationMessage: "Enable MFA for this user"