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

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

Overview

Contains information about a finding.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionArray<String>

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

Returns:

  • (Array<String>)


1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1568

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_atTime

The time at which the resource was analyzed.

Returns:

  • (Time)


1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1568

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

#conditionHash<String,String>

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

Returns:

  • (Hash<String,String>)


1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1568

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_atTime

The time at which the finding was generated.

Returns:

  • (Time)


1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1568

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

#errorString

An error.

Returns:

  • (String)


1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1568

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

#idString

The ID of the finding.

Returns:

  • (String)


1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1568

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_publicBoolean

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

Returns:

  • (Boolean)


1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1568

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

#principalHash<String,String>

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

Returns:

  • (Hash<String,String>)


1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1568

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

#resourceString

The resource that an external principal has access to.

Returns:

  • (String)


1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1568

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_restrictionString

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

Returns:

  • (String)


1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1568

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_accountString

The Amazon Web Services account ID that owns the resource.

Returns:

  • (String)


1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1568

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_typeString

The type of the resource identified in the finding.

Returns:

  • (String)


1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1568

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

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



1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1568

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

#statusString

The current status of the finding.

Returns:

  • (String)


1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1568

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_atTime

The time at which the finding was updated.

Returns:

  • (Time)


1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1568

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