Class CreateOcirContainerScanRegistryDetails
Registry information for a OCI Registry target
Inherited Members
Namespace: Oci.VulnerabilityscanningService.Models
Assembly: OCI.DotNetSDK.Vulnerabilityscanning.dll
Syntax
public class CreateOcirContainerScanRegistryDetails : CreateContainerScanRegistryDetails
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment to perform the scans in. All listed repositories must be in the compartment. |
Remarks
Required
Repositories
Declaration
[JsonProperty(PropertyName = "repositories")]
public List<string> Repositories { get; set; }
Property Value
Type | Description |
---|---|
List<string> | List of repositories to scan images in. If left empty, the target defaults to scanning all repos in the compartmentId |