You can create an executable object to define a reusable execution command for services. Executable objects allow you to specify the full path to an executable file and configure security settings like allowed arguments and path validation.
Use the iagctl create executable-object command to create a new executable object.
Syntax:
Parameters:
<name>: A unique name for the executable object--exec-command: The full path to the executable file on your systemExample:
Create an executable object for Python 3.11:
Add a description to help operators understand the purpose of the executable object.
Syntax:
Example:
Create an executable object for Terraform:
Create an executable object for a custom script interpreter:
Create an executable object for Python with conda:
After you create an executable object, you can: