Repository navigation
2.0.0 - 2026-09-18
This release grows the catalog from 161 checks across five areas to 208 checks across seven, adding OWASP Top 10 for LLM and AWS Agent Registry as assessment areas and renaming the Financial Services GenAI risk capability to Responsible AI GRC. It also hardens the assessment IAM roles and makes incomplete multi-account coverage fail a run rather than publish a partial report.
Upgrading is not a single step and is not fully backward compatible:
- Apply the updates in the order given under Deployment impact below. The multi-account member-role StackSet must be updated first.
TargetRegions=allis no longer accepted. Any stored parameter value, saved stack input, or automation using it must change to an empty value or an explicit region list before upgrading.EnableFinServAssessmentstill works as a deprecated alias forEnableResponsibleAIGRCAssessment, but direct Step Functions input using"enableFinServ": "true"is rejected.
Added
- Added AWS Agent Registry as an independent assessment area with its own regional Lambda, Step Functions branch, CSV artifact, and HTML report area (including a dashboard summary tile and assessment-scope chip), plus an
AR-00throughAR-08check namespace covering IAM full access, IAM stale access, publication approval governance, discovery authorization, customer-managed KMS encryption, organization auto-detection, record lifecycle governance, and record provenance. Behavior worth knowing:AR-01andAR-02evaluate attached and inline policies whoseStatementis either a single object or a list.AR-02uses IAM service-last-accessed data: access older than 60 days fails, while IAM job errors and deadlines stay visible as indeterminateN/Arows.- Record inventory is bounded to 1,000 records and paginates within the Lambda deadline. A truncation or deadline notice is reported as an additional
N/A/Informational row and does not discard the records already assessed. - Absent optional service metadata — approval configuration, discovery authorizer, auto-detection, creator attribution, and provenance source type — is reported as indeterminate
N/Arather than as a failure, and an unrecognized authorizer type is reported as unsupported instead of as a reviewed JWT configuration. Auto-detected records must carryDETECTED_FROMlineage naming an AgentCore runtime or gateway matching the declared source type. - Discovery authorization and record lifecycle states are reported as informational evidence requiring review rather than as passes.
- Registries in regions the account has not enabled are reported as unavailable, and client initialization or API failures become incomplete assessments with error-specific remediation. A single failing check produces an incomplete
N/Arow while the regional CSV is still written; an unrecoverable CSV-generation or S3-write failure raises so Step Functions records the failed task instead of treating a returnedstatusCode: 500payload as success.
- Added Agentic AI Security mappings
AG-33throughAG-38, derived from the newAR-03throughAR-08controls. The catalog now contains 208 checks (94 core, 38 Agentic AI, 64 Responsible AI GRC, and 12 OWASP). Agent Registry findings are deliberately outside OWASP scope — theAR-*controls establish Registry governance but do not directly prove an OWASP LLM01–LLM10 control — so enabling OWASP does not change Registry counts. - Added configurable
RequireAgentRegistryManualApprovalandRequireAgentRegistryCMKdeployment baselines. Both are advisory by default, so a registry that auto-approves submitted records or uses the AWS owned encryption key is reported as informational, and remediation guidance is shown only when the baseline requires the control. - Added SDK contract, IAM coverage, baseline-wiring, registry inventory, error-path, and finding-behavior tests, including pass/fail (or advisory
N/A), no-resource, and access-denied coverage forAR-01andAR-04throughAR-07.
Changed
- Hardened assessment deployment roles.
AIMLSecurityMemberRolenow contains only cross-account deployment, Step Functions polling, and report-retrieval permissions; assessment APIs remain exclusively on the SAM-created Lambda execution roles. CodeBuild roles now scope Lambda, IAM, S3, andPassRoleaccess to assessment resources, restrictPassRoleto Lambda and Step Functions, remove stale Lambda/S3 administration actions, and no longer define unused local member roles. SAM runtime roles now use exact, prefix-scoped S3 artifact permissions instead of bucket-wideS3CrudPolicy, and remove stale IAM, SageMaker, GuardDuty, AgentCore, ECR, Logs, EC2, Lambda, ECS, CloudTrail, and S3 actions. The IAM permission-cache Lambda retains only the identity and policy reads it actually performs. Per-resource reads are ARN-scoped wherever the AWS service supports it; account-level enumeration APIs that do not support resource-level authorization (bedrock:ListGuardrails,bedrock:ListPrompts,bedrock:ListAutomatedReasoningPolicies,sagemaker:ListPipelineExecutions) remain onResource: "*"so their checks are not silently denied. IAM service-last-access job creation is limited to roles and users in the assessed account using partition-aware principal ARNs, and AgentCore metric publication is constrained to theAIMLSecurity/AgentCoreCloudWatch namespace. - Standardized all AWS SDK dependencies on exact
boto3==1.43.85andbotocore==1.43.85pins. - Narrowed
AC-02wildcard findings andAC-03stale-access discovery to thebedrock-agentcoreIAM namespace. Overly permissiveagent-registrygrants are now reported byAR-01andAR-02. - Added end-user guidance for determining whether an upgrade requires only a CodeBuild run, a top-level infrastructure stack update, or a multi-account member-role StackSet update.
- Clarified that the provided deployment is validated and supported only in the standard AWS commercial partition. The README, developer guide, troubleshooting guidance, and
TargetRegionsparameter descriptions now state that partition-aware implementation details do not establish support for AWS GovCloud (US) or AWS China. - Updated the screenshot capture tool to enforce the repository-root
.venv, install its optional Python dependencies when missing, and verify a venv-local Playwright Chromium browser before capturing screenshots. Capture height now expands dynamically so every left-navigation section is visible. - Removed the
allvalue from theTargetRegionsparameter. Scans now target either the deployment region (default, empty value) or an explicit comma- or space-separated region list; theallfan-out is no longer accepted because it could produce very long assessment runs and oversized HTML reports. The runtime region parsers, theAllowedPatternin all four SAM and deployment templates, thebuildspec.ymlvalidation gate, and the README and troubleshooting guidance are updated to match.
Fixed
- Classify Bedrock access-denied results and AgentCore check execution errors as incomplete informational
N/Afindings instead of security failures. AgentCore now records unexpected errors under each affectedAC-*orAG-*control ID, preserves valid findings collected before an error, and does not emit a compliant pass when a cached IAM policy cannot be parsed. Confirmed workload misconfigurations remain scored failures. - Treat a missing, unreadable, or malformed IAM permissions cache as an incomplete assessment prerequisite instead of replacing it with empty role and user collections. Bedrock, SageMaker, AgentCore, and Responsible AI GRC cache-dependent controls now emit explicit informational
N/Arows rather than false passes or ambiguous “no permissions” results, while independent service checks continue running. - Correct IAM remediation guidance across Bedrock, AgentCore, Responsible AI GRC, and derived OWASP findings. Bedrock model allowlists now use valid model and inference-profile ARN scoping instead of the nonexistent
bedrock:ModelIdcondition key; BR-15 lists every Organizations permission it calls; AC-09 documents the exact service-linked-role creation permission and condition; AC-11 lists the complete KMS permissions and constraints for policy-engine encryption; and FS-27 directs operators to redeploy the SAM-created Lambda execution role through CodeBuild instead of changing the multi-account member role. Agent Registry stale-access errors no longer recommend grantingsts:GetCallerIdentity, which requires no IAM Allow. - Correct Bedrock Agents, Flows, Knowledge Bases, and Prompt Management remediation guidance to use the valid
bedrock:IAM namespace instead of thebedrock-agentboto3 client name. - Flag wildcard-resource
bedrock:TagResourceandbedrock:UntagResourcegrants in FS-22 when reviewing Bedrock Knowledge Base IAM policies. - Recover assessment deployment stacks in
ROLLBACK_COMPLETEorDELETE_FAILEDbefore rerunning SAM deployment. The build now performs this recovery for member-account, multi-account management, and single-account paths, using narrowly scopedcloudformation:DeleteStackpermissions for assessment and SAM-managed stacks. - Fail multi-account CodeBuild runs when any expected account cannot deploy, start or complete its Step Functions execution, expose its assessment bucket, or produce and upload the current execution's required CSV and HTML artifacts. The separately launched management-account assessment is always included in the expected set, including when
MultiAccountListOverridecontains only member accounts. Healthy accounts still complete and upload their individual results, but a consolidated report is withheld when coverage is incomplete, and the build prints every affected account, stage, and reason before exiting unsuccessfully. - Fail report generation when HTML rendering or S3 upload raises an exception, so Step Functions and CodeBuild cannot treat an uploaded error page as a successful assessment report. Before rendering, the report Lambda also requires a non-empty execution-scoped CSV from every regional service in every resolved target region, plus the one-time Responsible AI GRC artifact whenever that assessment or OWASP is enabled. The execution-scoped IAM permissions cache is still removed on both successful and failed report-generation attempts.
- Stop OWASP inventory pagination when an AWS API repeats a continuation token, preventing OW-11 or OW-12 from looping until the Lambda timeout.
- Restore
bedrock-agentcore:GetTokenVaultonResource: "*"for AC-14. Although the service reference documents a token-vault resource type, the runtime authorization request is evaluated against"*". The scoped policy therefore returned access denied and silently changed a failed token-vault customer-managed-KMS check into informationalN/A; the Agentic AI and OWASP findings derived from AC-14 now receive the real result again. - Restore CodeBuild and cross-account member-role access to start and poll the SAM-generated
AIMLAssessmentStateMachine-*state machines. The least-privilege policies now explicitly include the generated state-machine and execution ARN patterns without widening access to unrelated workflows. - Restore
lambda:ListFunctionsto the Bedrock assessment Lambda role so BR-33 can inventory Bedrock-related Lambda functions before checking Amazon Inspector code-scanning status, instead of reporting an access-denied assessment as informationalN/A. - Permit the AgentCore service-linked-role check to return the intended missing role finding by authorizing
iam:GetRolefor both the root-path lookup ARN and the service-linked-role ARN. - Keep Bedrock, SageMaker, AgentCore, and Agent Registry stale-access checks running when an incomplete or malformed STS caller ARN is returned by falling back safely to the standard AWS partition.
- Prevented
FS-22from flagging assessment-created roles solely for Bedrock inventory APIs that AWS requires to useResource: "*". It still flags wildcard Bedrock actions and exact Bedrock actions with supported resource scoping that remain unscoped. Corrected the FS-22 action catalog so non-scopable query actions do not create false positives and actions with supported Bedrock resource scoping—including data-source, association, resource-policy, tag, and log-delivery actions—remain covered; remediation now identifies the supported resource ARN(s) instead of incorrectly prescribing a Knowledge Base ARN for every action. - Calculate report pass rates from unique direct-service controls instead of resource-row counts: any failed assessable row fails its
Check_ID, controls pass only when all assessable rows pass, and N/A rows are excluded. - Stop
AC-03IAM last-access polling before the Lambda timeout, preserve completed results with an explicit incomplete-assessment row, and classify IAM job timeouts as indeterminate instead of failed controls. - Require
AC-03candidate permissions to come from attached or inline policy documents instead of inferring access from attached-policy names. - Evaluate attached customer-managed IAM policy documents as well as inline policies in
AC-02andAC-03, and scoreAllow/NotActionallow-except policies only when their exclusions name the AgentCore namespace without fully covering it, so an administrator-style grant is treated the same whether it is written asAction: "*"or asNotAction. - Preserve case-insensitive IAM wildcard matching while supporting embedded and partial wildcard action patterns.
- Report AgentCore as unavailable in regions the account has not enabled. A missing regional endpoint and the credential-shaped codes AWS returns for a disabled region (
UnrecognizedClientException,InvalidClientTokenId,AuthFailure) are classified as regional unavailability, so scanning all partition regions no longer produces per-region rows advising operators to troubleshoot DNS, VPC routing, or credentials. Genuinely expired or malformed credentials (ExpiredToken,SignatureDoesNotMatch) and other API failures remain incomplete assessments with credential- or error-specific remediation. - Backfill deadline-skipped AgentCore and Agentic AI checks before writing the regional CSV so an approaching timeout no longer drops controls from the report.
- Make screenshot capture failures, including clipped-sidebar guard failures, terminate the capture tool with a non-zero exit status.
Deployment impact
Apply these updates in order.
- Multi-account member-role StackSet update required first because
deployment/1-aiml-security-member-roles.yamlchanged. It creates the member-role customer-managed deployment policy and narrowsAIMLSecurityMemberRoleto deployment, execution-polling, and report-retrieval operations, including narrowly scoped recovery of failed assessment or SAM-managed stacks; assessment service API permissions remain on SAM Lambda execution roles. - Multi-account central infrastructure update required next because
deployment/2-aiml-security-codebuild.yamlchanged with the AWS Agent Registry baselines, least-privilege CodeBuild deployment policy, and narrowly scoped failed-stack recovery. This update also removes the obsolete conditional local member-role resource if an older stack still tracks it. - Single-account infrastructure update required because
deployment/aiml-security-single-account.yamlchanged with the same baselines, CodeBuild policy hardening, and failed-stack recovery. This update also removes the obsolete local member-role resource if an older stack still tracks it. - CodeBuild run required last to deploy the updated assessment code, dependencies,
buildspec.yml, and AWS SAM templates (aiml-security-assessment/template.yamlandaiml-security-assessment/template-multi-account.yaml). The updated buildspec also makes incomplete multi-account coverage fail the run instead of publishing an apparently complete consolidated report, and report rendering or upload failures now fail the Step Functions execution. The SAM templates create the standalone AWS Agent Registry assessment Lambda and update the state machine.
The template and CodeBuild updates above also tighten the TargetRegions AllowedPattern to reject all. Any stored parameter value, saved stack input, or automation that passes TargetRegions=all must be changed to an empty value or an explicit region list before the next deployment or CodeBuild run, or CloudFormation/buildspec validation will fail.
Deployments pinned to a tag or commit must update the GitHubBranch CloudFormation parameter to the revision containing these changes before starting CodeBuild.
What's Changed
- Add OWASP Top 10 for LLM assessment coverage by @agasthik in #53
- Rebrand FinServ capability to Responsible AI GRC by @mehtadman87 in #54
- Fix BR-16 unknown tier handling and clarify README by @agasthik in #58
- feat: Expand catalog to 194 checks, add policy baselines by @agasthik in #59
- Assess AWS Agent Registry as a standalone assessment area by @agasthik in #61
- security: harden assessment IAM roles and assessment completeness/error semantics by @agasthik in #62
- Remove 'all' option from TargetRegions parameter by @agasthik in #64
Full Changelog: v1.0.0...v2.0.0