OSPolicyResourceExecResourceExecResponse

data class OSPolicyResourceExecResourceExecResponse(val args: List<String>, val file: OSPolicyResourceFileResponse, val interpreter: String, val outputFilePath: String, val script: String)

A file or script to execute.

Constructors

Link copied to clipboard
constructor(args: List<String>, file: OSPolicyResourceFileResponse, interpreter: String, outputFilePath: String, script: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Optional arguments to pass to the source during execution.

Link copied to clipboard

A remote or local file.

Link copied to clipboard

The script interpreter to use.

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.

Link copied to clipboard

An inline script. The size of the script is limited to 32KiB.