CimTrak - Example - Scan Compliance By IP
Example on how to run a compliance scan for an agent based on IP address
CimTrak - System Integrity Assurance · 4 tasks · 1 input · 0 outputs
Details
| ID | CimTrak - Example - Scan Compliance By IP |
|---|---|
| From Version | 6.0.0 |
| Tasks | 4 |
README
Dependencies
This playbook uses the following sub-playbooks, integrations, and scripts.
Sub-playbooks
This playbook does not use any sub-playbooks.
Integrations
- CimTrak
Scripts
This playbook does not use any scripts.
Commands
- get-agent-object-by-ip
- compliance-scan-with-summary
- get-objects
Playbook Inputs
| Name | Description | Default Value | Required |
|---|---|---|---|
| IP | ::ffff:127.0.0.1 | Optional |
Playbook Outputs
There are no outputs for this playbook.
Inputs
IP—
Commands used
compliance-scan-with-summary
get-agent-object-by-ip
get-objects
Flowchart
id: CimTrak - Example - Scan Compliance By IP version: -1 name: CimTrak - Example - Scan Compliance By IP description: Example on how to run a compliance scan for an agent based on IP address starttaskid: "0" tasks: "0": id: "0" taskid: 81e710f8-1a3a-4ca6-8ed3-1d7d9fc41145 type: start task: id: 81e710f8-1a3a-4ca6-8ed3-1d7d9fc41145 version: -1 name: "" iscommand: false brand: "" description: '' nexttasks: '#none#': - "1" separatecontext: false view: |- { "position": { "x": 450, "y": 50 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false "1": id: "1" taskid: c302d19c-747f-49e2-8d42-8185da19308e type: regular task: id: c302d19c-747f-49e2-8d42-8185da19308e version: -1 name: get-agent-object-by-ip description: Get agent object from ip address script: CimTrak|||get-agent-object-by-ip type: regular iscommand: true brand: CimTrak nexttasks: '#none#': - "3" scriptarguments: ip: simple: ${inputs.IP} separatecontext: false view: |- { "position": { "x": 450, "y": 230 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false "2": id: "2" taskid: 76012f52-b420-44bc-814e-98e7e2de0715 type: regular task: id: 76012f52-b420-44bc-814e-98e7e2de0715 version: -1 name: compliance-scan-with-summary description: Launch compliance scan for object and return results script: CimTrak|||compliance-scan-with-summary type: regular iscommand: true brand: CimTrak scriptarguments: objectId: simple: ${CimTrak.Objects.objectId} separatecontext: false view: |- { "position": { "x": 450, "y": 640 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false "3": id: "3" taskid: 2f1c4ef0-82c8-4300-879b-613a7153bc76 type: regular task: id: 2f1c4ef0-82c8-4300-879b-613a7153bc76 version: -1 name: get-objects description: Retrieves a list of objects. script: CimTrak|||get-objects type: regular iscommand: true brand: CimTrak nexttasks: '#none#': - "2" scriptarguments: ObjectSubType: simple: "10" ObjectType: simple: "3" ParentId: simple: ${CimTrak.Object.objectId} separatecontext: false view: |- { "position": { "x": 450, "y": 430 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false view: |- { "linkLabelsPosition": {}, "paper": { "dimensions": { "height": 685, "width": 380, "x": 450, "y": 50 } } } inputs: - key: IP value: {} required: false description: "" playbookInputQuery: outputs: [] tests: - No tests (auto formatted) fromversion: 6.0.0