Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AccessPreviewFinding

import type { AccessPreviewFinding } from "https://aws-api.deno.dev/v0.4/services/accessanalyzer.ts?docs=full";

An access preview finding generated by the access preview.

interface AccessPreviewFinding {
action?: string[] | null;
changeType: FindingChangeType;
condition?: {
[key: string]: string | null | undefined;
}
| null;
createdAt: Date | number;
error?: string | null;
existingFindingId?: string | null;
existingFindingStatus?: FindingStatus | null;
id: string;
isPublic?: boolean | null;
principal?: {
[key: string]: string | null | undefined;
}
| null;
resource?: string | null;
resourceOwnerAccount: string;
resourceType: ResourceType;
sources?: FindingSource[] | null;
status: FindingStatus;
}

§Properties

§
action?: string[] | null
[src]

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

§

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.

§
condition?: {
[key: string]: string | null | undefined;
}
| null
[src]

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

§
createdAt: Date | number
[src]

The time at which the access preview finding was created.

§
error?: string | null
[src]

An error.

§
existingFindingId?: string | null
[src]

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

§
existingFindingStatus?: FindingStatus | null
[src]

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

§
id: string
[src]

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.

§
isPublic?: boolean | null
[src]

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

§
principal?: {
[key: string]: string | null | undefined;
}
| null
[src]

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

§
resource?: string | null
[src]

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

§
resourceOwnerAccount: string
[src]

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.

§
resourceType: ResourceType
[src]

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

§
sources?: FindingSource[] | null
[src]

The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.

§

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.