Class: Aws::AccessAnalyzer::Types::AccessPreviewFinding

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

Overview

An access preview finding generated by the access preview.

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 perform.

Returns:

  • (Array<String>)


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 172

class AccessPreviewFinding < Struct.new(
  :action,
  :change_type,
  :condition,
  :created_at,
  :error,
  :existing_finding_id,
  :existing_finding_status,
  :id,
  :is_public,
  :principal,
  :resource,
  :resource_owner_account,
  :resource_type,
  :sources,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#change_typeString

Provides context on how the access preview finding compares to existing access identified in IAM Access Analyzer.

  • New - The finding is for newly-introduced access.

  • Unchanged - The preview finding is an existing finding that would remain unchanged.

  • Changed - The preview finding is an existing finding with a change in status.

For example, a Changed finding with preview status Resolved and existing status Active indicates the existing Active finding would become Resolved as a result of the proposed permissions change.

Returns:

  • (String)


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 172

class AccessPreviewFinding < Struct.new(
  :action,
  :change_type,
  :condition,
  :created_at,
  :error,
  :existing_finding_id,
  :existing_finding_status,
  :id,
  :is_public,
  :principal,
  :resource,
  :resource_owner_account,
  :resource_type,
  :sources,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#conditionHash<String,String>

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

Returns:

  • (Hash<String,String>)


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 172

class AccessPreviewFinding < Struct.new(
  :action,
  :change_type,
  :condition,
  :created_at,
  :error,
  :existing_finding_id,
  :existing_finding_status,
  :id,
  :is_public,
  :principal,
  :resource,
  :resource_owner_account,
  :resource_type,
  :sources,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#created_atTime

The time at which the access preview finding was created.

Returns:

  • (Time)


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 172

class AccessPreviewFinding < Struct.new(
  :action,
  :change_type,
  :condition,
  :created_at,
  :error,
  :existing_finding_id,
  :existing_finding_status,
  :id,
  :is_public,
  :principal,
  :resource,
  :resource_owner_account,
  :resource_type,
  :sources,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#errorString

An error.

Returns:

  • (String)


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 172

class AccessPreviewFinding < Struct.new(
  :action,
  :change_type,
  :condition,
  :created_at,
  :error,
  :existing_finding_id,
  :existing_finding_status,
  :id,
  :is_public,
  :principal,
  :resource,
  :resource_owner_account,
  :resource_type,
  :sources,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#existing_finding_idString

The existing ID of the finding in IAM Access Analyzer, provided only for existing findings.

Returns:

  • (String)


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 172

class AccessPreviewFinding < Struct.new(
  :action,
  :change_type,
  :condition,
  :created_at,
  :error,
  :existing_finding_id,
  :existing_finding_status,
  :id,
  :is_public,
  :principal,
  :resource,
  :resource_owner_account,
  :resource_type,
  :sources,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#existing_finding_statusString

The existing status of the finding, provided only for existing findings.

Returns:

  • (String)


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 172

class AccessPreviewFinding < Struct.new(
  :action,
  :change_type,
  :condition,
  :created_at,
  :error,
  :existing_finding_id,
  :existing_finding_status,
  :id,
  :is_public,
  :principal,
  :resource,
  :resource_owner_account,
  :resource_type,
  :sources,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID of the access preview finding. This ID uniquely identifies the element in the list of access preview findings and is not related to the finding ID in Access Analyzer.

Returns:

  • (String)


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 172

class AccessPreviewFinding < Struct.new(
  :action,
  :change_type,
  :condition,
  :created_at,
  :error,
  :existing_finding_id,
  :existing_finding_status,
  :id,
  :is_public,
  :principal,
  :resource,
  :resource_owner_account,
  :resource_type,
  :sources,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#is_publicBoolean

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

Returns:

  • (Boolean)


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 172

class AccessPreviewFinding < Struct.new(
  :action,
  :change_type,
  :condition,
  :created_at,
  :error,
  :existing_finding_id,
  :existing_finding_status,
  :id,
  :is_public,
  :principal,
  :resource,
  :resource_owner_account,
  :resource_type,
  :sources,
  :status)
  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>)


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 172

class AccessPreviewFinding < Struct.new(
  :action,
  :change_type,
  :condition,
  :created_at,
  :error,
  :existing_finding_id,
  :existing_finding_status,
  :id,
  :is_public,
  :principal,
  :resource,
  :resource_owner_account,
  :resource_type,
  :sources,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#resourceString

The resource that an external principal has access to. This is the resource associated with the access preview.

Returns:

  • (String)


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 172

class AccessPreviewFinding < Struct.new(
  :action,
  :change_type,
  :condition,
  :created_at,
  :error,
  :existing_finding_id,
  :existing_finding_status,
  :id,
  :is_public,
  :principal,
  :resource,
  :resource_owner_account,
  :resource_type,
  :sources,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#resource_owner_accountString

The Amazon Web Services account ID that owns the resource. For most Amazon Web Services resources, the owning account is the account in which the resource was created.

Returns:

  • (String)


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 172

class AccessPreviewFinding < Struct.new(
  :action,
  :change_type,
  :condition,
  :created_at,
  :error,
  :existing_finding_id,
  :existing_finding_status,
  :id,
  :is_public,
  :principal,
  :resource,
  :resource_owner_account,
  :resource_type,
  :sources,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The type of the resource that can be accessed in the finding.

Returns:

  • (String)


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 172

class AccessPreviewFinding < Struct.new(
  :action,
  :change_type,
  :condition,
  :created_at,
  :error,
  :existing_finding_id,
  :existing_finding_status,
  :id,
  :is_public,
  :principal,
  :resource,
  :resource_owner_account,
  :resource_type,
  :sources,
  :status)
  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:



172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 172

class AccessPreviewFinding < Struct.new(
  :action,
  :change_type,
  :condition,
  :created_at,
  :error,
  :existing_finding_id,
  :existing_finding_status,
  :id,
  :is_public,
  :principal,
  :resource,
  :resource_owner_account,
  :resource_type,
  :sources,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The preview status of the finding. This is what the status of the finding would be after permissions deployment. For example, a Changed finding with preview status Resolved and existing status Active indicates the existing Active finding would become Resolved as a result of the proposed permissions change.

Returns:

  • (String)


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 172

class AccessPreviewFinding < Struct.new(
  :action,
  :change_type,
  :condition,
  :created_at,
  :error,
  :existing_finding_id,
  :existing_finding_status,
  :id,
  :is_public,
  :principal,
  :resource,
  :resource_owner_account,
  :resource_type,
  :sources,
  :status)
  SENSITIVE = []
  include Aws::Structure
end