GoogleCloudPolicysimulatorV1ReplayConfig
import type { GoogleCloudPolicysimulatorV1ReplayConfig } from "https://googleapis.deno.dev/v1/policysimulator:v1.ts";
The configuration used for a Replay.
interface GoogleCloudPolicysimulatorV1ReplayConfig {
logSource?: "LOG_SOURCE_UNSPECIFIED" | "RECENT_ACCESSES";
policyOverlay?: {};
}[key: string]: GoogleIamV1Policy;
§Properties
§
logSource?: "LOG_SOURCE_UNSPECIFIED" | "RECENT_ACCESSES"
[src]The logs to use as input for the Replay.
§
policyOverlay?: {}
[src][key: string]: GoogleIamV1Policy;
A mapping of the resources that you want to simulate policies for and the
policies that you want to simulate. Keys are the full resource names for
the resources. For example,
//cloudresourcemanager.googleapis.com/projects/my-project
. For examples
of full resource names for Google Cloud services, see
https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
Values are Policy objects representing the policies that you want to
simulate. Replays automatically take into account any IAM policies
inherited through the resource hierarchy, and any policies set on
descendant resources. You do not need to include these policies in the
policy overlay.