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

Class: Aws::AccessAnalyzer::Types::Finding

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

Overview

Contains information about a finding.

Returned by:

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 was analyzed.

Returns:

  • (Time) —

    The time at which the resource 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 generated.

Returns:

  • (Time) —

    The time at which the finding was generated.

#error ⇒ String

An error.

Returns:

  • (String) —

    An error.

#id ⇒ String

The ID of the finding.

Returns:

  • (String) —

    The ID of the finding.

#is_public ⇒ Boolean

Indicates whether the policy that generated the finding allows public access to the resource.

Returns:

  • (Boolean) —

    Indicates whether the policy that generated the finding allows public access to the resource.

#principal ⇒ Hash<String,String>

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

Returns:

  • (Hash<String,String>) —

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

#resource ⇒ String

The resource that an external principal has access to.

Returns:

  • (String) —

    The resource that an 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 reported in the finding.

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 reported in the finding.

#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 current status of the finding.

Possible values:

  • ACTIVE
  • ARCHIVED
  • RESOLVED

Returns:

  • (String) —

    The current status of the finding.

#updated_at ⇒ Time

The time at which the finding was updated.

Returns:

  • (Time) —

    The time at which the finding was updated.