Os Policy Assignment Os Policy Resource Group Resource Exec Enforce
data class OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforce(val args: List<String>? = null, val file: OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceFile? = null, val interpreter: String, val outputFilePath: String? = null, val script: String? = null)
Properties
Link copied to clipboard
A remote or local file. Structure is documented below.
Link copied to clipboard
The script interpreter to use. Possible values are: INTERPRETER_UNSPECIFIED
, NONE
, SHELL
, POWERSHELL
.
Link copied to clipboard
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 100K bytes.