Class: Google::Cloud::SecurityCenter::V1::OrganizationSettings::AssetDiscoveryConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v1/organization_settings.rb

Overview

The configuration used for Asset Discovery runs.

Defined Under Namespace

Modules: InclusionMode

Instance Attribute Summary collapse

Instance Attribute Details

#folder_ids::Array<::String>

Returns The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.

Returns:

  • (::Array<::String>)

    The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.



56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'proto_docs/google/cloud/securitycenter/v1/organization_settings.rb', line 56

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

  # The mode of inclusion when running Asset Discovery.
  # Asset discovery can be limited by explicitly identifying projects to be
  # included or excluded. If INCLUDE_ONLY is set, then only those projects
  # within the organization and their children are discovered during asset
  # discovery. If EXCLUDE is set, then projects that don't match those
  # projects are discovered during asset discovery. If neither are set, then
  # all projects within the organization are discovered during asset
  # discovery.
  module InclusionMode
    # Unspecified. Setting the mode with this value will disable
    # inclusion/exclusion filtering for Asset Discovery.
    INCLUSION_MODE_UNSPECIFIED = 0

    # Asset Discovery will capture only the resources within the projects
    # specified. All other resources will be ignored.
    INCLUDE_ONLY = 1

    # Asset Discovery will ignore all resources under the projects specified.
    # All other resources will be retrieved.
    EXCLUDE = 2
  end
end

#inclusion_mode::Google::Cloud::SecurityCenter::V1::OrganizationSettings::AssetDiscoveryConfig::InclusionMode

Returns The mode to use for filtering asset discovery.

Returns:



56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'proto_docs/google/cloud/securitycenter/v1/organization_settings.rb', line 56

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

  # The mode of inclusion when running Asset Discovery.
  # Asset discovery can be limited by explicitly identifying projects to be
  # included or excluded. If INCLUDE_ONLY is set, then only those projects
  # within the organization and their children are discovered during asset
  # discovery. If EXCLUDE is set, then projects that don't match those
  # projects are discovered during asset discovery. If neither are set, then
  # all projects within the organization are discovered during asset
  # discovery.
  module InclusionMode
    # Unspecified. Setting the mode with this value will disable
    # inclusion/exclusion filtering for Asset Discovery.
    INCLUSION_MODE_UNSPECIFIED = 0

    # Asset Discovery will capture only the resources within the projects
    # specified. All other resources will be ignored.
    INCLUDE_ONLY = 1

    # Asset Discovery will ignore all resources under the projects specified.
    # All other resources will be retrieved.
    EXCLUDE = 2
  end
end

#project_ids::Array<::String>

Returns The project ids to use for filtering asset discovery.

Returns:

  • (::Array<::String>)

    The project ids to use for filtering asset discovery.



56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'proto_docs/google/cloud/securitycenter/v1/organization_settings.rb', line 56

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

  # The mode of inclusion when running Asset Discovery.
  # Asset discovery can be limited by explicitly identifying projects to be
  # included or excluded. If INCLUDE_ONLY is set, then only those projects
  # within the organization and their children are discovered during asset
  # discovery. If EXCLUDE is set, then projects that don't match those
  # projects are discovered during asset discovery. If neither are set, then
  # all projects within the organization are discovered during asset
  # discovery.
  module InclusionMode
    # Unspecified. Setting the mode with this value will disable
    # inclusion/exclusion filtering for Asset Discovery.
    INCLUSION_MODE_UNSPECIFIED = 0

    # Asset Discovery will capture only the resources within the projects
    # specified. All other resources will be ignored.
    INCLUDE_ONLY = 1

    # Asset Discovery will ignore all resources under the projects specified.
    # All other resources will be retrieved.
    EXCLUDE = 2
  end
end