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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb

Overview

Contains information about a finding.

Constant Summary collapse

SENSITIVE =
[]

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>)


1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1726

class Finding < Struct.new(
  :id,
  :principal,
  :action,
  :resource,
  :is_public,
  :resource_type,
  :condition,
  :created_at,
  :analyzed_at,
  :updated_at,
  :status,
  :resource_owner_account,
  :error,
  :sources,
  :resource_control_policy_restriction)
  SENSITIVE = []
  include Aws::Structure
end

#analyzed_at ⇒ Time

The time at which the resource was analyzed.

Returns:

  • (Time)


1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1726

class Finding < Struct.new(
  :id,
  :principal,
  :action,
  :resource,
  :is_public,
  :resource_type,
  :condition,
  :created_at,
  :analyzed_at,
  :updated_at,
  :status,
  :resource_owner_account,
  :error,
  :sources,
  :resource_control_policy_restriction)
  SENSITIVE = []
  include Aws::Structure
end

#condition ⇒ Hash<String,String>

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

Returns:

  • (Hash<String,String>)


1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1726

class Finding < Struct.new(
  :id,
  :principal,
  :action,
  :resource,
  :is_public,
  :resource_type,
  :condition,
  :created_at,
  :analyzed_at,
  :updated_at,
  :status,
  :resource_owner_account,
  :error,
  :sources,
  :resource_control_policy_restriction)
  SENSITIVE = []
  include Aws::Structure
end

#created_at ⇒ Time

The time at which the finding was generated.

Returns:

  • (Time)


1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1726

class Finding < Struct.new(
  :id,
  :principal,
  :action,
  :resource,
  :is_public,
  :resource_type,
  :condition,
  :created_at,
  :analyzed_at,
  :updated_at,
  :status,
  :resource_owner_account,
  :error,
  :sources,
  :resource_control_policy_restriction)
  SENSITIVE = []
  include Aws::Structure
end

#error ⇒ String

An error.

Returns:

  • (String)


1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1726

class Finding < Struct.new(
  :id,
  :principal,
  :action,
  :resource,
  :is_public,
  :resource_type,
  :condition,
  :created_at,
  :analyzed_at,
  :updated_at,
  :status,
  :resource_owner_account,
  :error,
  :sources,
  :resource_control_policy_restriction)
  SENSITIVE = []
  include Aws::Structure
end

#id ⇒ String

The ID of the finding.

Returns:

  • (String)


1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1726

class Finding < Struct.new(
  :id,
  :principal,
  :action,
  :resource,
  :is_public,
  :resource_type,
  :condition,
  :created_at,
  :analyzed_at,
  :updated_at,
  :status,
  :resource_owner_account,
  :error,
  :sources,
  :resource_control_policy_restriction)
  SENSITIVE = []
  include Aws::Structure
end

#is_public ⇒ Boolean

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

Returns:

  • (Boolean)


1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1726

class Finding < Struct.new(
  :id,
  :principal,
  :action,
  :resource,
  :is_public,
  :resource_type,
  :condition,
  :created_at,
  :analyzed_at,
  :updated_at,
  :status,
  :resource_owner_account,
  :error,
  :sources,
  :resource_control_policy_restriction)
  SENSITIVE = []
  include Aws::Structure
end

#principal ⇒ Hash<String,String>

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

Returns:

  • (Hash<String,String>)


1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1726

class Finding < Struct.new(
  :id,
  :principal,
  :action,
  :resource,
  :is_public,
  :resource_type,
  :condition,
  :created_at,
  :analyzed_at,
  :updated_at,
  :status,
  :resource_owner_account,
  :error,
  :sources,
  :resource_control_policy_restriction)
  SENSITIVE = []
  include Aws::Structure
end

#resource ⇒ String

The resource that an external principal has access to.

Returns:

  • (String)


1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1726

class Finding < Struct.new(
  :id,
  :principal,
  :action,
  :resource,
  :is_public,
  :resource_type,
  :condition,
  :created_at,
  :analyzed_at,
  :updated_at,
  :status,
  :resource_owner_account,
  :error,
  :sources,
  :resource_control_policy_restriction)
  SENSITIVE = []
  include Aws::Structure
end

#resource_control_policy_restriction ⇒ String

The type of restriction applied to the finding by the resource owner with an Organizations resource control policy (RCP).

Returns:

  • (String)


1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1726

class Finding < Struct.new(
  :id,
  :principal,
  :action,
  :resource,
  :is_public,
  :resource_type,
  :condition,
  :created_at,
  :analyzed_at,
  :updated_at,
  :status,
  :resource_owner_account,
  :error,
  :sources,
  :resource_control_policy_restriction)
  SENSITIVE = []
  include Aws::Structure
end

#resource_owner_account ⇒ String

The Amazon Web Services account ID that owns the resource.

Returns:

  • (String)


1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1726

class Finding < Struct.new(
  :id,
  :principal,
  :action,
  :resource,
  :is_public,
  :resource_type,
  :condition,
  :created_at,
  :analyzed_at,
  :updated_at,
  :status,
  :resource_owner_account,
  :error,
  :sources,
  :resource_control_policy_restriction)
  SENSITIVE = []
  include Aws::Structure
end

#resource_type ⇒ String

The type of the resource identified in the finding.

Returns:

  • (String)


1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1726

class Finding < Struct.new(
  :id,
  :principal,
  :action,
  :resource,
  :is_public,
  :resource_type,
  :condition,
  :created_at,
  :analyzed_at,
  :updated_at,
  :status,
  :resource_owner_account,
  :error,
  :sources,
  :resource_control_policy_restriction)
  SENSITIVE = []
  include Aws::Structure
end

#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:



1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1726

class Finding < Struct.new(
  :id,
  :principal,
  :action,
  :resource,
  :is_public,
  :resource_type,
  :condition,
  :created_at,
  :analyzed_at,
  :updated_at,
  :status,
  :resource_owner_account,
  :error,
  :sources,
  :resource_control_policy_restriction)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The current status of the finding.

Returns:

  • (String)


1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1726

class Finding < Struct.new(
  :id,
  :principal,
  :action,
  :resource,
  :is_public,
  :resource_type,
  :condition,
  :created_at,
  :analyzed_at,
  :updated_at,
  :status,
  :resource_owner_account,
  :error,
  :sources,
  :resource_control_policy_restriction)
  SENSITIVE = []
  include Aws::Structure
end

#updated_at ⇒ Time

The time at which the finding was updated.

Returns:

  • (Time)


1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1726

class Finding < Struct.new(
  :id,
  :principal,
  :action,
  :resource,
  :is_public,
  :resource_type,
  :condition,
  :created_at,
  :analyzed_at,
  :updated_at,
  :status,
  :resource_owner_account,
  :error,
  :sources,
  :resource_control_policy_restriction)
  SENSITIVE = []
  include Aws::Structure
end