Class: Google::Cloud::SecurityCenter::V1::AwsMetadata
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V1::AwsMetadata
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securitycenter/v1/resource.rb
Overview
AWS metadata associated with the resource, only applicable if the finding's cloud provider is Amazon Web Services.
Defined Under Namespace
Classes: AwsAccount, AwsOrganization, AwsOrganizationalUnit
Instance Attribute Summary collapse
-
#account ⇒ ::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsAccount
The AWS account associated with the resource.
-
#organization ⇒ ::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsOrganization
The AWS organization associated with the resource.
-
#organizational_units ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsOrganizationalUnit>
A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.
Instance Attribute Details
#account ⇒ ::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsAccount
Returns The AWS account associated with the resource.
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'proto_docs/google/cloud/securitycenter/v1/resource.rb', line 104 class AwsMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An organization is a collection of accounts that are centrally managed # together using consolidated billing, organized hierarchically with # organizational units (OUs), and controlled with policies. # @!attribute [rw] id # @return [::String] # The unique identifier (ID) for the organization. The regex pattern for an # organization ID string requires "o-" followed by from 10 to 32 lowercase # letters or digits. class AwsOrganization include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # An Organizational Unit (OU) is a container of AWS accounts within a root of # an organization. Policies that are attached to an OU apply to all accounts # contained in that OU and in any child OUs. # @!attribute [rw] id # @return [::String] # The unique identifier (ID) associated with this OU. The regex pattern for # an organizational unit ID string requires "ou-" followed by from 4 to 32 # lowercase letters or digits (the ID of the root that contains the OU). # This string is followed by a second "-" dash and from 8 to 32 additional # lowercase letters or digits. For example, "ou-ab12-cd34ef56". # @!attribute [rw] name # @return [::String] # The friendly name of the OU. class AwsOrganizationalUnit include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # An AWS account that is a member of an organization. # @!attribute [rw] id # @return [::String] # The unique identifier (ID) of the account, containing exactly 12 digits. # @!attribute [rw] name # @return [::String] # The friendly name of this account. class AwsAccount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#organization ⇒ ::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsOrganization
Returns The AWS organization associated with the resource.
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'proto_docs/google/cloud/securitycenter/v1/resource.rb', line 104 class AwsMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An organization is a collection of accounts that are centrally managed # together using consolidated billing, organized hierarchically with # organizational units (OUs), and controlled with policies. # @!attribute [rw] id # @return [::String] # The unique identifier (ID) for the organization. The regex pattern for an # organization ID string requires "o-" followed by from 10 to 32 lowercase # letters or digits. class AwsOrganization include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # An Organizational Unit (OU) is a container of AWS accounts within a root of # an organization. Policies that are attached to an OU apply to all accounts # contained in that OU and in any child OUs. # @!attribute [rw] id # @return [::String] # The unique identifier (ID) associated with this OU. The regex pattern for # an organizational unit ID string requires "ou-" followed by from 4 to 32 # lowercase letters or digits (the ID of the root that contains the OU). # This string is followed by a second "-" dash and from 8 to 32 additional # lowercase letters or digits. For example, "ou-ab12-cd34ef56". # @!attribute [rw] name # @return [::String] # The friendly name of the OU. class AwsOrganizationalUnit include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # An AWS account that is a member of an organization. # @!attribute [rw] id # @return [::String] # The unique identifier (ID) of the account, containing exactly 12 digits. # @!attribute [rw] name # @return [::String] # The friendly name of this account. class AwsAccount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#organizational_units ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsOrganizationalUnit>
Returns A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'proto_docs/google/cloud/securitycenter/v1/resource.rb', line 104 class AwsMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # An organization is a collection of accounts that are centrally managed # together using consolidated billing, organized hierarchically with # organizational units (OUs), and controlled with policies. # @!attribute [rw] id # @return [::String] # The unique identifier (ID) for the organization. The regex pattern for an # organization ID string requires "o-" followed by from 10 to 32 lowercase # letters or digits. class AwsOrganization include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # An Organizational Unit (OU) is a container of AWS accounts within a root of # an organization. Policies that are attached to an OU apply to all accounts # contained in that OU and in any child OUs. # @!attribute [rw] id # @return [::String] # The unique identifier (ID) associated with this OU. The regex pattern for # an organizational unit ID string requires "ou-" followed by from 4 to 32 # lowercase letters or digits (the ID of the root that contains the OU). # This string is followed by a second "-" dash and from 8 to 32 additional # lowercase letters or digits. For example, "ou-ab12-cd34ef56". # @!attribute [rw] name # @return [::String] # The friendly name of the OU. class AwsOrganizationalUnit include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # An AWS account that is a member of an organization. # @!attribute [rw] id # @return [::String] # The unique identifier (ID) of the account, containing exactly 12 digits. # @!attribute [rw] name # @return [::String] # The friendly name of this account. class AwsAccount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |