OSPolicyResourceExecResourceExec
import type { OSPolicyResourceExecResourceExec } from "https://googleapis.deno.dev/v1/osconfig:v2.ts";
A file or script to execute.
interface OSPolicyResourceExecResourceExec {
args?: string[];
file?: OSPolicyResourceFile;
interpreter?:
| "INTERPRETER_UNSPECIFIED"
| "NONE"
| "SHELL"
| "POWERSHELL";
outputFilePath?: string;
script?: string;
}§Properties
§
file?: OSPolicyResourceFile
[src]A remote or local file.
§
interpreter?: "INTERPRETER_UNSPECIFIED" | "NONE" | "SHELL" | "POWERSHELL"
[src]Required. The script interpreter to use.
§
outputFilePath?: string
[src]Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 500K bytes.