Skip to content

Scan

scan_artifact(project_name, repository_name, reference) async

Scan an artifact.

Parameters:

Name Type Description Default
project_name str

The name of the project

required
repository_name str

The name of the repository

required
reference str

The reference of the artifact, can be digest or tag

required

stop_artifact_scan(project_name, repository_name, reference) async

Stop a scan for a particular artifact.

Parameters:

Name Type Description Default
project_name str

The name of the project

required
repository_name str

The name of the repository

required
reference str

The reference of the artifact, can be digest or tag

required

get_artifact_scan_report_log(project_name, repository_name, reference, report_id) async

Get the log of a scan report.

Parameters:

Name Type Description Default
project_name str

The name of the project

required
repository_name str

The name of the repository

required
reference str

The reference of the artifact, can be digest or tag

required
report_id str

The ID of the scan report

required

Returns:

Type Description
str

The log of a scan report