

# Finding
<a name="API_Finding"></a>

Contains information about a finding.

## Contents
<a name="API_Finding_Contents"></a>

 ** analyzedAt **   <a name="accessanalyzer-Type-Finding-analyzedAt"></a>
The time at which the resource was analyzed.  
Type: Timestamp  
Required: Yes

 ** condition **   <a name="accessanalyzer-Type-Finding-condition"></a>
The condition in the analyzed policy statement that resulted in a finding.  
Type: String to string map  
Required: Yes

 ** createdAt **   <a name="accessanalyzer-Type-Finding-createdAt"></a>
The time at which the finding was generated.  
Type: Timestamp  
Required: Yes

 ** id **   <a name="accessanalyzer-Type-Finding-id"></a>
The ID of the finding.  
Type: String  
Required: Yes

 ** resourceOwnerAccount **   <a name="accessanalyzer-Type-Finding-resourceOwnerAccount"></a>
The AWS account ID that owns the resource.  
Type: String  
Required: Yes

 ** resourceType **   <a name="accessanalyzer-Type-Finding-resourceType"></a>
The type of the resource identified in the finding.  
Type: String  
Valid Values: `AWS::S3::Bucket | AWS::IAM::Role | AWS::SQS::Queue | AWS::Lambda::Function | AWS::Lambda::LayerVersion | AWS::KMS::Key | AWS::SecretsManager::Secret | AWS::EFS::FileSystem | AWS::EC2::Snapshot | AWS::ECR::Repository | AWS::RDS::DBSnapshot | AWS::RDS::DBClusterSnapshot | AWS::SNS::Topic | AWS::S3Express::DirectoryBucket | AWS::DynamoDB::Table | AWS::DynamoDB::Stream | AWS::IAM::User`   
Required: Yes

 ** status **   <a name="accessanalyzer-Type-Finding-status"></a>
The current status of the finding.  
Type: String  
Valid Values: `ACTIVE | ARCHIVED | RESOLVED`   
Required: Yes

 ** updatedAt **   <a name="accessanalyzer-Type-Finding-updatedAt"></a>
The time at which the finding was updated.  
Type: Timestamp  
Required: Yes

 ** action **   <a name="accessanalyzer-Type-Finding-action"></a>
The action in the analyzed policy statement that an external principal has permission to use.  
Type: Array of strings  
Required: No

 ** error **   <a name="accessanalyzer-Type-Finding-error"></a>
An error.  
Type: String  
Required: No

 ** isPublic **   <a name="accessanalyzer-Type-Finding-isPublic"></a>
Indicates whether the policy that generated the finding allows public access to the resource.  
Type: Boolean  
Required: No

 ** principal **   <a name="accessanalyzer-Type-Finding-principal"></a>
The external principal that has access to a resource within the zone of trust.  
Type: String to string map  
Required: No

 ** resource **   <a name="accessanalyzer-Type-Finding-resource"></a>
The resource that an external principal has access to.  
Type: String  
Required: No

 ** resourceControlPolicyRestriction **   <a name="accessanalyzer-Type-Finding-resourceControlPolicyRestriction"></a>
The type of restriction applied to the finding by the resource owner with an Organizations resource control policy (RCP).  
Type: String  
Valid Values: `APPLICABLE | FAILED_TO_EVALUATE_RCP | NOT_APPLICABLE | APPLIED`   
Required: No

 ** sources **   <a name="accessanalyzer-Type-Finding-sources"></a>
The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.  
Type: Array of [FindingSource](API_FindingSource.md) objects  
Required: No

## See Also
<a name="API_Finding_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/accessanalyzer-2019-11-01/Finding) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/accessanalyzer-2019-11-01/Finding) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/accessanalyzer-2019-11-01/Finding) 