Finding
public struct Finding : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The action in the analyzed policy statement that an external principal has permission to use.
Declaration
Swift
public let action: [String]?
-
The time at which the resource was analyzed.
Declaration
Swift
public let analyzedAt: TimeStamp
-
The condition in the analyzed policy statement that resulted in a finding.
Declaration
Swift
public let condition: [String : String]
-
The time at which the finding was generated.
Declaration
Swift
public let createdAt: TimeStamp
-
An error.
Declaration
Swift
public let error: String?
-
The ID of the finding.
Declaration
Swift
public let id: String
-
Indicates whether the policy that generated the finding allows public access to the resource.
Declaration
Swift
public let isPublic: Bool?
-
The external principal that access to a resource within the zone of trust.
Declaration
Swift
public let principal: [String : String]?
-
The resource that an external principal has access to.
Declaration
Swift
public let resource: String?
-
The AWS account ID that owns the resource.
Declaration
Swift
public let resourceOwnerAccount: String
-
The type of the resource reported in the finding.
Declaration
Swift
public let resourceType: ResourceType
-
The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
Declaration
Swift
public let sources: [FindingSource]?
-
The current status of the finding.
Declaration
Swift
public let status: FindingStatus
-
The time at which the finding was updated.
Declaration
Swift
public let updatedAt: TimeStamp
-
init(action:analyzedAt:condition:createdAt:error:id:isPublic:principal:resource:resourceOwnerAccount:resourceType:sources:status:updatedAt:)
Undocumented
Declaration
Swift
public init(action: [String]? = nil, analyzedAt: TimeStamp, condition: [String : String], createdAt: TimeStamp, error: String? = nil, id: String, isPublic: Bool? = nil, principal: [String : String]? = nil, resource: String? = nil, resourceOwnerAccount: String, resourceType: ResourceType, sources: [FindingSource]? = nil, status: FindingStatus, updatedAt: TimeStamp)