#[non_exhaustive]pub struct Cloud {
pub account: Option<Box<Account>>,
pub cloud_partition: Option<String>,
pub org: Option<Box<Organization>>,
pub project_uid: Option<String>,
pub provider: Option<String>,
pub region: Option<String>,
pub zone: Option<String>,
}Expand description
Cloud
The Cloud object describes the cloud computing environment where an event or finding originated. It provides comprehensive context about the cloud infrastructure, including the cloud service provider, account or subscription details, organizational structure, geographic regions, availability zones, and logical partitions.
[] Category: | Name: cloud
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.account: Option<Box<Account>>Account
The Account object containing details about the cloud account, subscription, or billing unit where the event or finding was created. This object includes properties such as the account name, unique identifier, type, labels, and tags.
Examples:
- AWS: Account object with
name,uid(Account ID),type, and other account properties - Azure: Subscription object with
name,uid(Subscription ID),type, and subscription metadata - GCP: Project object with
name,uid(Project ID),type, and project attributes - Oracle Cloud: Compartment object with
name,uid(Tenancy OCID),type, and compartment details
optional
cloud_partition: Option<String>Cloud Partition
The logical grouping or isolated segment within a cloud provider’s infrastructure where the event or finding was created, often used for compliance, governance, or regional separation.
Examples:
- AWS: Partition where the event occurred (
aws,aws-cn,aws-us-gov) - Azure: Cloud environment where the event occurred (
AzureCloud,AzureUSGovernment,AzureChinaCloud)
optional
org: Option<Box<Organization>>Organization
The Organization object containing details about the organizational unit or management structure that governs the account, subscription, or project where the event or finding was created. This object includes properties such as the organization name, unique identifier, type, and other organizational metadata.
Examples:
- AWS: Organization object with
name,uid(Organization ID),type, and other organizational properties - Azure: Management Group object with
name,uid(Management Group ID),type, and management group metadata - GCP: Organization object with
name,uid(Organization ID),type, and organizational attributes - Oracle Cloud: Tenancy object with
name,uid(Tenancy OCID),type, and tenancy details
optional
project_uid: Option<String>Project ID
The unique identifier of a Cloud project.
optional
provider: Option<String>Provider
The unique name of the Cloud services provider where the event or finding was created, such as AWS, MS Azure, GCP, etc.
required
region: Option<String>Region
The cloud region where the event or finding was created, as defined by the cloud provider.
Examples:
- AWS: Region where the event occurred (
us-east-1,eu-west-1) - Azure: Region where the event occurred (
East US,West Europe) - GCP: Region where the event occurred (
us-central1,europe-west1) - Oracle Cloud: Region where the event occurred (
us-ashburn-1,uk-london-1)
recommended
zone: Option<String>Cloud Availability Zone
The availability zone in the cloud region where the event or finding was created, as defined by the cloud provider.
Examples:
- AWS: Availability zone where the event occurred (
us-east-1a,us-east-1b) - Azure: Availability zone where the event occurred (
1,2,3within a region) - GCP: Availability zone where the event occurred (
us-central1-a,us-central1-b) - Oracle Cloud: Availability zone where the event occurred (
AD-1,AD-2,AD-3)
optional