Reviewed-by: Rogal, Marcel <mrogal@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: qiaoli <qiaoli@huawei.com> Co-committed-by: qiaoli <qiaoli@huawei.com>
23 KiB
Managing SWR Private Images
Images in the private image repository come from SWR images. You can manually scan for and check reports on vulnerabilities, malicious files, software information, file information, baseline check, and sensitive information.
Constraints
- Only the HSS container edition supports this function.
- Security scans can be performed only on Linux images.
Viewing SWR Private Images
- Log in to the management console.
- Click
in the upper left corner of the page, select a region, and choose Security > Host Security Service. The HSS page is displayed. - In the navigation pane, choose Asset Management > Containers & Quota.
- Click the Container Images tab and click SWR private image.
- You can click Update Private Images from SWR to update private images from SWR.
Scanning an SWR Private Image
You can choose all images, multiple images, or a single image and manually start a scan. The duration of a security scan depends on the scanned image size. Generally, scanning an image takes shorter than 3 minutes. After the scan is complete, click View Report to check the report.
Scan items of private images in SWR are as follows:
Scan Item |
Description |
|---|---|
Vulnerability |
Detects system and application vulnerabilities in images. |
Malicious file |
Detects malicious files in images. |
Software information |
Collects software information in an image. |
File information |
Collects file information in an image. |
Unsafe setting |
|
Sensitive information |
Detects files that contain sensitive information in images.
|
Software compliance |
Detects software and tools that are not allowed to be used. |
Basic image information |
Detects service images that are not created using base images. |
- Log in to the management console and go to the HSS page.
- In the navigation pane, choose Asset Management > Containers & Quota.
- In the Operation column of an image, click Scan.
- Click the Container Images tab and click SWR private image.
- Perform a security scan for a single image or multiple images.
- Single image security scan
In the Operation column of the target image, click Scan to perform security scan.
- Batch image security scan
Select all target images and click Scan above the image list to perform security scan for multiple target images.
- Full image security scan
Click Scan All above the image list to perform a security scan for all images.
- Single image security scan
- In the displayed dialog box, click OK to start the scan job.
- Scanned in the Scan Status column indicates the target image scan completed.
Checking the Security Reports of SWR Private Images
After the scanning is complete, you can view the security reports.
- Log in to the management console and go to the HSS page.
- In the navigation pane, choose Asset Management > Containers & Quota.
- Click the Container Images tab and click and click Private Images (SWR).Click View Report in the Operation column. The security report details page is displayed.
- Check the SWR private image security report. For more information, see Table 1.
Exporting a Private Image Vulnerability Report
- Log in to the management console and go to the HSS page.
- In the navigation pane, choose Asset Management > Containers & Quota.
- Click the Container Images tab and click Private Images (SWR).
- Click Export Vulnerability above the image list and select a report type to export the vulnerability or baseline report.
If you want to export the vulnerability report of a specified image, select the image type in the search box and click Export Vulnerability.

