Fortinet white logo
Fortinet white logo

Examples

Running a script on a target server using jobs

Running a script on a target server using jobs

This example demonstrates how to create an approval profile, create a secret that requires approval to launch a job, create an ssh script type job, send a request to gain approval to execute a job, and approve the request (if you are an approver) to execute the job.

To run a script on a target server using jobs:
  1. Creating a job approval profile
  2. Creating a secret with mandatory approval requirement for launching a job
  3. Creating an ssh script type job
  4. Sending a request to access the job
  5. Approving a job request
  6. Results

Running a script on a target server using jobs

Running a script on a target server using jobs

This example demonstrates how to create an approval profile, create a secret that requires approval to launch a job, create an ssh script type job, send a request to gain approval to execute a job, and approve the request (if you are an approver) to execute the job.

To run a script on a target server using jobs:
  1. Creating a job approval profile
  2. Creating a secret with mandatory approval requirement for launching a job
  3. Creating an ssh script type job
  4. Sending a request to access the job
  5. Approving a job request
  6. Results