You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::AccessAnalyzer::Types::FindingSummary

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Contains information about a finding.

Instance Attribute Summary collapse

Instance Attribute Details

#action ⇒ Array<String>

The action in the analyzed policy statement that an external principal has permission to use.

Returns:

  • (Array<String>) —

    The action in the analyzed policy statement that an external principal has permission to use.

#analyzed_at ⇒ Time

The time at which the resource-based policy that generated the finding was analyzed.

Returns:

  • (Time) —

    The time at which the resource-based policy that generated the finding was analyzed.

#condition ⇒ Hash<String,String>

The condition in the analyzed policy statement that resulted in a finding.

Returns:

  • (Hash<String,String>) —

    The condition in the analyzed policy statement that resulted in a finding.

#created_at ⇒ Time

The time at which the finding was created.

Returns:

  • (Time) —

    The time at which the finding was created.

#error ⇒ String

The error that resulted in an Error finding.

Returns:

  • (String) —

    The error that resulted in an Error finding.

#id ⇒ String

The ID of the finding.

Returns:

  • (String) —

    The ID of the finding.

#is_public ⇒ Boolean

Indicates whether the finding reports a resource that has a policy that allows public access.

Returns:

  • (Boolean) —

    Indicates whether the finding reports a resource that has a policy that allows public access.

#principal ⇒ Hash<String,String>

The external principal that has access to a resource within the zone of trust.

Returns:

  • (Hash<String,String>) —

    The external principal that has access to a resource within the zone of trust.

#resource ⇒ String

The resource that the external principal has access to.

Returns:

  • (String) —

    The resource that the external principal has access to.

#resource_owner_account ⇒ String

The AWS account ID that owns the resource.

Returns:

  • (String) —

    The AWS account ID that owns the resource.

#resource_type ⇒ String

The type of the resource that the external principal has access to.

Possible values:

  • AWS::S3::Bucket
  • AWS::IAM::Role
  • AWS::SQS::Queue
  • AWS::Lambda::Function
  • AWS::Lambda::LayerVersion
  • AWS::KMS::Key

Returns:

  • (String) —

    The type of the resource that the external principal has access to.

#sources ⇒ Array<Types::FindingSource>

The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.

Returns:

#status ⇒ String

The status of the finding.

Possible values:

  • ACTIVE
  • ARCHIVED
  • RESOLVED

Returns:

  • (String) —

    The status of the finding.

#updated_at ⇒ Time

The time at which the finding was most recently updated.

Returns:

  • (Time) —

    The time at which the finding was most recently updated.