AnalyzedResource

public struct AnalyzedResource : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The actions that an external principal is granted permission to use by the policy that generated the finding.

    Declaration

    Swift

    public let actions: [String]?
  • The time at which the resource was analyzed.

    Declaration

    Swift

    public let analyzedAt: TimeStamp
  • The time at which the finding was created.

    Declaration

    Swift

    public let createdAt: TimeStamp
  • An error message.

    Declaration

    Swift

    public let error: String?
  • Indicates whether the policy that generated the finding grants public access to the resource.

    Declaration

    Swift

    public let isPublic: Bool
  • The ARN of the resource that was analyzed.

    Declaration

    Swift

    public let resourceArn: String
  • The AWS account ID that owns the resource.

    Declaration

    Swift

    public let resourceOwnerAccount: String
  • The type of the resource that was analyzed.

    Declaration

    Swift

    public let resourceType: ResourceType
  • Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.

    Declaration

    Swift

    public let sharedVia: [String]?
  • The current status of the finding generated from the analyzed resource.

    Declaration

    Swift

    public let status: FindingStatus?
  • The time at which the finding was updated.

    Declaration

    Swift

    public let updatedAt: TimeStamp
  • Undocumented

    Declaration

    Swift

    public init(actions: [String]? = nil, analyzedAt: TimeStamp, createdAt: TimeStamp, error: String? = nil, isPublic: Bool, resourceArn: String, resourceOwnerAccount: String, resourceType: ResourceType, sharedVia: [String]? = nil, status: FindingStatus? = nil, updatedAt: TimeStamp)