Scan Policy¶
Create a Scan Policy¶
After creating a scan configuration, you can create a scan policy based on the configuration.
-
Under the Security Management -> Compliance Scanning page, click the Scan Policy tab on the right to create a scan policy.
-
Fill in the configuration according to the following instructions and click OK .
- Cluster: Select the cluster to be scanned. The optional cluster list comes from the clusters accessed or created in the Container Management module. If the desired cluster is not available, you can access or create a cluster in the Container Management module.
- Scan Configuration: Select a pre-created scan configuration. The scan configuration determines which specific scan items need to be performed.
-
Scan Type:
- Immediate scan: Perform a scan immediately after the scan policy is created. It cannot be automatically/manually executed again later.
- Scheduled scan: Automatically repeat the scan at scheduled intervals.
-
Number of Scan Reports to Keep: Set the maximum number of scan reports to be kept. When the specified retention quantity is exceeded, delete from the earliest report.
Update/Delete Scan Policies¶
After creating a scan policy, you can update or delete it as needed.
Under the Scan Policy tab, click the ┇ action button to the right of a configuration:
-
For periodic scan policies:
- Select Execute Immediately to perform an additional scan outside the regular schedule.
- Select Disable to interrupt the scanning plan until Enable is clicked to resume executing the scan policy according to the scheduling plan.
- Select Edit to update the configuration. You can update the scan configuration, type, scan cycle, and report retention quantity. The configuration name and the target cluster to be scanned cannot be changed.
- Select Delete to delete the configuration.
-
For one-time scan policies: Only support the Delete operation.