

# View findings from controls

Findings appear in the following places:
+ The **Validation results** tab on the CloudFormation console.
+ The output of `DescribeEvents`.
+ The output of `cdk deploy`.

## Change set status
<a name="aws-managed-proactive-controls-findings-changeset-status"></a>

When a change set has findings, its status reason reports them. With `WARN` findings, CloudFormation creates the change set, and you review the findings before you execute it. With `FAIL` findings, the change set fails.

## View findings (console)
<a name="aws-managed-proactive-controls-findings-console"></a>

For a stack operation, open the stack's **Events** tab and choose the operation ID. The Operation view page opens on the **Validation results** tab.

**To view findings for a change set**

1. Sign in to the AWS Management Console and open the CloudFormation console at [https://console.aws.amazon.com/cloudformation](https://console.aws.amazon.com/cloudformation/).

1. On the navigation bar at the top of the screen, choose the AWS Region where your stack is located.

1. On the **Stacks** page, choose the stack.

1. Choose the **Change sets** tab, and then choose the change set.

1. Choose the **Validation results** tab to view the findings.

## View findings (AWS CLI)
<a name="aws-managed-proactive-controls-findings-cli"></a>

Use the [describe-events](https://docs.aws.amazon.com/cli/latest/reference/cloudformation/describe-events.html) command with the change set name or ARN.

```
aws cloudformation describe-events \
  --change-set-name "{{arn:aws:cloudformation:us-east-1:123456789012:changeSet/MyChangeSet/94498df5-1afb-43b1-9869-9f82b2d877ac}}"
```

Each finding includes the following fields:
+ `ValidationName`: The type name of the control.
+ `ValidationStatus`: `FAILED` when the control finds an issue.
+ `ValidationFailureMode`: `WARN` or `FAIL`.
+ `ValidationStatusReason`: The resource and the issue.

The following example output shows a finding.

```json
{
   "OperationEvents":[
      {
         "ValidationName":"AWS::Controls::DynamoDBTableInUseRemoved",
         "ValidationFailureMode":"WARN",
         "ValidationStatus":"FAILED",
         "ValidationStatusReason":"Removing DynamoDB table OrdersTable deletes the table and its data. The table consumed read or write capacity in the last 24 hours."
      }
   ]
}
```

## View findings (AWS CDK)
<a name="aws-managed-proactive-controls-findings-cdk"></a>

Findings appear in the output of `cdk deploy`.