Class: Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/artifactregistry/v1/repository.rb

Overview

Config on whether to perform vulnerability scanning for resources in this repository, as well as output fields describing current state.

Defined Under Namespace

Modules: EnablementConfig, EnablementState

Instance Attribute Summary collapse

Instance Attribute Details

#enablement_config::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig

Returns Optional. Config for whether this repository has vulnerability scanning disabled.

Returns:



639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 639

class VulnerabilityScanningConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Config for vulnerability scanning of resources in this repository.
  module EnablementConfig
    # Not set. This will be treated as INHERITED.
    ENABLEMENT_CONFIG_UNSPECIFIED = 0

    # Scanning is Enabled, but dependent on API enablement.
    INHERITED = 1

    # No automatic vulnerability scanning will be performed for this
    # repository.
    DISABLED = 2
  end

  # Describes the state of vulnerability scanning in this repository,
  # including both repository enablement and API enablement.
  module EnablementState
    # Enablement state is unclear.
    ENABLEMENT_STATE_UNSPECIFIED = 0

    # Repository does not support vulnerability scanning.
    SCANNING_UNSUPPORTED = 1

    # Vulnerability scanning is disabled for this repository.
    SCANNING_DISABLED = 2

    # Vulnerability scanning is active for this repository.
    SCANNING_ACTIVE = 3
  end
end

#enablement_state::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState (readonly)

Returns Output only. State of feature enablement, combining repository enablement config and API enablement state.

Returns:



639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 639

class VulnerabilityScanningConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Config for vulnerability scanning of resources in this repository.
  module EnablementConfig
    # Not set. This will be treated as INHERITED.
    ENABLEMENT_CONFIG_UNSPECIFIED = 0

    # Scanning is Enabled, but dependent on API enablement.
    INHERITED = 1

    # No automatic vulnerability scanning will be performed for this
    # repository.
    DISABLED = 2
  end

  # Describes the state of vulnerability scanning in this repository,
  # including both repository enablement and API enablement.
  module EnablementState
    # Enablement state is unclear.
    ENABLEMENT_STATE_UNSPECIFIED = 0

    # Repository does not support vulnerability scanning.
    SCANNING_UNSUPPORTED = 1

    # Vulnerability scanning is disabled for this repository.
    SCANNING_DISABLED = 2

    # Vulnerability scanning is active for this repository.
    SCANNING_ACTIVE = 3
  end
end

#enablement_state_reason::String (readonly)

Returns Output only. Reason for the repository state.

Returns:

  • (::String)

    Output only. Reason for the repository state.



639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 639

class VulnerabilityScanningConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Config for vulnerability scanning of resources in this repository.
  module EnablementConfig
    # Not set. This will be treated as INHERITED.
    ENABLEMENT_CONFIG_UNSPECIFIED = 0

    # Scanning is Enabled, but dependent on API enablement.
    INHERITED = 1

    # No automatic vulnerability scanning will be performed for this
    # repository.
    DISABLED = 2
  end

  # Describes the state of vulnerability scanning in this repository,
  # including both repository enablement and API enablement.
  module EnablementState
    # Enablement state is unclear.
    ENABLEMENT_STATE_UNSPECIFIED = 0

    # Repository does not support vulnerability scanning.
    SCANNING_UNSUPPORTED = 1

    # Vulnerability scanning is disabled for this repository.
    SCANNING_DISABLED = 2

    # Vulnerability scanning is active for this repository.
    SCANNING_ACTIVE = 3
  end
end

#last_enable_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The last time this repository config was enabled.

Returns:



639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 639

class VulnerabilityScanningConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Config for vulnerability scanning of resources in this repository.
  module EnablementConfig
    # Not set. This will be treated as INHERITED.
    ENABLEMENT_CONFIG_UNSPECIFIED = 0

    # Scanning is Enabled, but dependent on API enablement.
    INHERITED = 1

    # No automatic vulnerability scanning will be performed for this
    # repository.
    DISABLED = 2
  end

  # Describes the state of vulnerability scanning in this repository,
  # including both repository enablement and API enablement.
  module EnablementState
    # Enablement state is unclear.
    ENABLEMENT_STATE_UNSPECIFIED = 0

    # Repository does not support vulnerability scanning.
    SCANNING_UNSUPPORTED = 1

    # Vulnerability scanning is disabled for this repository.
    SCANNING_DISABLED = 2

    # Vulnerability scanning is active for this repository.
    SCANNING_ACTIVE = 3
  end
end