Configuring a Unix Script Result Check

The Unix script-based user-defined controls (UDCs) in Qualys PC lets you evaluate the script-based UDC data on Unix platform, thereby, enabling you to leverage the power of Policy Compliance-CAR integration. Configure a Unix Script Result Check to execute custom scripts on Custom Assessment and Remediation (CAR) and create corresponding compliance reports.

To evaluate the script-based UDC data on Unix platform, create the relevant user-defined controls in Qualys PC.

Notes:

- Evaluation of the Script Result Check type UDCs in a policy is only dependent on assets and the execution schedule defined for the associated script in Qualys CAR.

- The script result UDC is not evaluated when a script result is processed. Instead, it is evaluated during the next agent scan (PC/UDC/Middleware).

Requirements and Supported Versions

Pre-requisites

Before you create a Unix script-based UDC, ensure that:

- Qualys CAR is enabled for your subscription and you have a few scripts created and approved in CAR.

- PC-enabled agent is included in your subscription.

- The new PC dashboard is available and the Enable Script Execution UDC option is enabled for your subscription.

Supported Script Types

LUA, PERL, PYTHON, SHELL

Supported Agent Versions

Cloud Agent 4.7.0 or later

Create Unix Script-Based UDC

You can create a Unix script-based check with the following steps:

1. Select Script

Click Select Script to choose the script based on which the UDC should be implemented.

Option to choose the scipts that are created in Script Manager

Only scripts that are approved from CAR for Unix are listed.

Select the required script from the Select Script pop-up window and click Apply. You can also filter scripts using the search tokens available in the search bar. After you select the script, click Next to proceed further.

Choose the scipt you wan to associate in the control check

2. Control Information

Provide the following information needed to create the UDC:

Note: You can click Add Control to include multiple controls in a single check.

After you provide the control information, click Next to proceed further.

3. Review and Confirm

Review all the control information you provided for the check to be created and click Submit to create the Unix script-based UDC.

After you submit the required information, the control is created and listed in the Controls tab. To create a report on policies with user-defined controls, associate the control with a policy. You can restrict the scan to a policy in the scan settings (option profile) and then view the scan report.

Quick Links: User-Defined Controls FAQs | Manage Controls | Agent UDC Support | Set Up Policies | Scan for Policy Compliance