Interface RegistryScanningRule.Builder

    • Method Detail

      • scanFrequency

        RegistryScanningRule.Builder scanFrequency​(String scanFrequency)

        The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH scan frequency is supported. If scan on push is not specified, then the MANUAL scan frequency is set by default.

        Parameters:
        scanFrequency - The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH scan frequency is supported. If scan on push is not specified, then the MANUAL scan frequency is set by default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScanFrequency, ScanFrequency
      • scanFrequency

        RegistryScanningRule.Builder scanFrequency​(ScanFrequency scanFrequency)

        The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH scan frequency is supported. If scan on push is not specified, then the MANUAL scan frequency is set by default.

        Parameters:
        scanFrequency - The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH scan frequency is supported. If scan on push is not specified, then the MANUAL scan frequency is set by default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScanFrequency, ScanFrequency
      • repositoryFilters

        RegistryScanningRule.Builder repositoryFilters​(Collection<ScanningRepositoryFilter> repositoryFilters)

        The repository filters associated with the scanning configuration for a private registry.

        Parameters:
        repositoryFilters - The repository filters associated with the scanning configuration for a private registry.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • repositoryFilters

        RegistryScanningRule.Builder repositoryFilters​(ScanningRepositoryFilter... repositoryFilters)

        The repository filters associated with the scanning configuration for a private registry.

        Parameters:
        repositoryFilters - The repository filters associated with the scanning configuration for a private registry.
        Returns:
        Returns a reference to this object so that method calls can be chained together.