Class: Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig
- Inherits:
-
Object
- Object
- Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig
- 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
-
#enablement_config ⇒ ::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig
Optional.
-
#enablement_state ⇒ ::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState
readonly
Output only.
-
#enablement_state_reason ⇒ ::String
readonly
Output only.
-
#last_enable_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#enablement_config ⇒ ::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig
Returns Optional. Config for whether this repository has vulnerability scanning disabled.
585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 585 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.
585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 585 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.
585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 585 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.
585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 585 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 |