Marking controls as not applicable
Some controls in a framework don’t apply to every project. For example, a project that stores no cardholder data doesn’t need a control about how long to keep that data. You can mark a control, or one of its requirements, as not applicable (N/A) for a project. AWS Assurance then stops creating work for the item and leaves it out of the readiness score.
Each N/A decision applies to one item, in one project, for one framework version. You can use it with managed and custom frameworks. Other projects aren’t affected, and neither are other versions of the framework. The framework version must be enabled for the project. If you disable a framework version and enable it again later, its decisions stay in place.
Topics
What happens when you mark an item not applicable
When you mark a control or a requirement N/A, AWS Assurance does the following:
-
Excludes the item from scoring. When you mark a control N/A, the control shows N/A right away. The readiness score updates at the control’s next assessment: the next daily assessment in Daily mode, or the next detected change in Continuous mode. To update the score right away, choose Run assessment. If you mark every requirement of a control N/A, the control is N/A too. When you mark only some requirements N/A, they’re excluded right away, and the control’s requirement counts update. The control’s outcome percentage still comes from its most recent assessment.
-
Cancels open tasks. AWS Assurance sets the item’s remediation tasks that have the status Open or Review to Cancelled. Marking a control N/A cancels the open tasks for all of its requirements, including document tasks and technical tasks. Marking a requirement N/A cancels only that requirement’s tasks. Tasks that are already Completed or Cancelled don’t change. Each cancelled task gets a task history entry that records who made the change and that the item was marked not applicable. For more information, see Remediation tasks.
-
Skips the evaluation of an N/A control. When any assessment, whether on demand, daily, or continuous, reaches a control that is marked N/A, the assessment finishes with the status
NOT_APPLICABLEwithout evaluating your resources. It produces no outcome percentage and creates no tasks. Marking or restoring an item doesn’t start an assessment in any mode. For more information, see Assessment statuses. -
Records the decision. AWS Assurance stores your justification, who made the decision, and when. Assessment reports include this record for each control or requirement that you marked N/A directly, and show the first 500 characters of each justification. If the environment uses a customer managed AWS Key Management Service (AWS KMS) key, AWS Assurance encrypts the justification with that key. For more information, see Encryption at rest for AWS Assurance.
An N/A decision changes how AWS Assurance reports the item from now on. It doesn’t change the results of earlier assessments, which stay in the assessment history.
Decisions on a control and on its requirements are independent. While a control is N/A, all of its requirements are excluded with it. If you restore the control, requirements that you marked N/A on their own stay N/A.
Each item keeps only its current N/A decision. If you mark an item N/A again, the new justification and attribution replace the old ones, and you can’t recover the earlier decision. AWS CloudTrail records each PutControlStatusOverride call, but not its justification. To keep a record, export an assessment report and save the PDF before you change a decision. The report records each decision as it is when AWS Assurance creates the report. For more information, see Assessment reports.
Required permissions
To view the status of a control, you need the assurance:GetControlStatus action. To mark an item N/A or restore it, you also need the assurance:PutControlStatusOverride action. Both actions use the environment as the resource.
If you sign in to the web application with IAM Identity Center, your permission set must also grant access. To view the status, you need permission to view assessments. To mark an item N/A or restore it, you need the Manage projects permission (manage_projects). The Run assessments permission doesn’t include it. For more information, see Controlling web application access with permission sets.
Mark an item not applicable in the web application
To mark items N/A, you need the permissions in Required permissions. Without them, Mark not applicable is unavailable, and its tooltip lists the permissions that you need.
To mark a control or a requirement as not applicable
-
Open the project in the AWS Assurance off-console web application.
-
In the navigation pane, choose Compliance Readiness, and then choose the Frameworks tab.
-
Choose the framework, and then choose the control.
-
Do one of the following:
-
To mark the whole control N/A, choose Mark not applicable for the control.
-
To mark one requirement N/A, choose Mark not applicable on the row for that requirement.
-
-
In Mark as not applicable, enter a justification of 1–1,024 characters. Explain why the item doesn’t apply to this project. The justification is kept as evidence.
-
Review the impact that the panel shows, such as how many open tasks will be cancelled.
-
Select the acknowledgment check box, and then choose Confirm exclusion.
After you confirm, the item shows as excluded, and the control’s applicable and excluded requirement counts update.
To restore a control or a requirement
-
Open the control.
-
Do one of the following:
-
To restore the control, choose Restore control.
-
To restore a requirement, choose Restore on the row for that requirement.
-
A restored control counts toward the readiness score again after its next assessment. A restored control stays N/A if you marked all of its requirements N/A on their own. Restore those requirements too. Restoring an item doesn’t start an assessment. Until the next assessment, the control shows the result of its most recent assessment, or Not assessed if that assessment ran while the control was N/A. To update it right away, choose Run assessment. At that assessment, AWS Assurance reopens cancelled tasks whose requirements still aren’t met, with the same task IDs and new due dates. It completes the tasks whose requirements are now met. For more information, see How later assessments update tasks.
A requirement that is excluded because its control is N/A shows Excluded by a control-level exception. To include that requirement again, restore the control.
Mark an item not applicable with the API
In the API, an N/A decision is a status override. Use PutControlStatusOverride to mark an item N/A or to restore it. Use GetControlStatus to read the current status. Both operations require the environment ARN, the project, the framework, the framework version, and the control ID.
Mark a control not applicable
To mark a control N/A, set type to NOT_APPLICABLE and include a justification of 1–1,024 characters. To target the whole control, omit requirementId.
aws assurance put-control-status-override \ --environment-arn arn:aws:assurance:<region>:<account-id>:environment/<environment-id> \ --project <project-name> \ --framework <framework-name> \ --framework-version <framework-version> \ --control-id <control-id> \ --type NOT_APPLICABLE \ --justification "This project stores no cardholder data."
The response contains the decision, with the principal and time that AWS Assurance recorded.
{ "statusOverride": { "type": "NOT_APPLICABLE", "justification": "This project stores no cardholder data.", "declaredBy": "arn:aws:sts::111122223333:assumed-role/ComplianceAdmin/example-session", "declaredAt": "2026-10-16T17:30:00Z" } }
Mark a requirement not applicable
To mark one requirement N/A, also include requirementId. The requirement must belong to the control. To find the requirement IDs of a control, call GetControlStatus and read the requirementId of each entry in requirementStatuses.
aws assurance put-control-status-override \ --environment-arn arn:aws:assurance:<region>:<account-id>:environment/<environment-id> \ --project <project-name> \ --framework <framework-name> \ --framework-version <framework-version> \ --control-id <control-id> \ --requirement-id <requirement-id> \ --type NOT_APPLICABLE \ --justification "Covered by the organization-wide encryption policy."
Restore a control or a requirement
To restore an item, set type to NONE. You can omit justification. The response contains no statusOverride. Restoring an item that isn’t N/A succeeds and changes nothing.
aws assurance put-control-status-override \ --environment-arn arn:aws:assurance:<region>:<account-id>:environment/<environment-id> \ --project <project-name> \ --framework <framework-name> \ --framework-version <framework-version> \ --control-id <control-id> \ --type NONE
To restore a single requirement, include --requirement-id. Restoring a control leaves requirement-level decisions in place, and restoring a requirement leaves the control-level decision and other requirements in place.
View the status of a control
aws assurance get-control-status \ --environment-arn arn:aws:assurance:<region>:<account-id>:environment/<environment-id> \ --project <project-name> \ --framework <framework-name> \ --framework-version <framework-version> \ --control-id <control-id>
The response includes the following fields:
-
status– The control’s current readiness. It changes as soon as you mark or restore an item. The web application showsCOMPLIANTas Finished,NEEDS_ATTENTIONas Needs Attention,NOT_APPLICABLEas N/A, andNOT_ASSESSEDas Not assessed. -
statusOverride– The decision on the control itself, if there is one. -
applicableRequirementCountandexcludedRequirementCount– How many of the control’s requirements apply to the project, and how many are N/A. -
outcomePercentage– The score from the most recent assessment. It’s absent when the control is N/A or not assessed. -
requirementStatuses– The status of each requirement. For the values, see Assessment statuses. A requirement that you marked N/A directly has its ownstatusOverride. A requirement that is N/A only because its control is N/A has the statusnot_applicableand nostatusOverride.
Errors
Besides the common errors, such as ThrottlingException and InternalServerException, PutControlStatusOverride can return the following errors:
-
AccessDeniedException– You don’t have the required permissions. For more information, see Required permissions. -
ValidationException– The justification is missing, blank, or longer than 1,024 characters, or the requirement doesn’t belong to the control. -
ResourceNotFoundException– The project or the control doesn’t exist, or the framework version isn’t enabled for the project. -
ConflictException– The control’s status changed while your request was in progress. CallGetControlStatusto read the current status, and then retry.