# Fields related to the cloud or infrastructure the events are coming from. type Cloud implements BaseRecord @model{ #'Date/time when the event originated. # # This is the date/time extracted from the event, typically representing when # the event was generated by the source. # # If the event source has no original timestamp, this value is typically populated # by the first time the event was received by the pipeline. # # Required field for all events.' timestamp : Time! #'Custom key/value pairs. # # Can be used to add meta information to events. Should not contain nested objects. # All values are stored as keyword. # # Example: '{"application": "foo-bar", "env": "production"}' labels : JSON # 'For log events the message field contains the log message, optimized # for viewing in a log viewer. # # For structured logs without an original message field, other fields can be # concatenated to form a human-readable summary of the event. # # If multiple messages exist, they can be combined into one message.' message: String # List of keywords used to tag each event. tags: [String] # Key-Value pairs representing vendor specific properties attributes: JSON # The cloud account or organization id used to identify different entities in a multi-tenant environment. # #Examples: AWS account id, Google Cloud ORG Id, or other unique identifier. accountId: String # The cloud account name or alias used to identify different entities in a multi-tenant environment. # #Examples: AWS account name, Google Cloud ORG display name. accountName: String # Availability zone in which this host, resource, or service is located. availabilityZone:String #Instance ID of the host machine. instanceId:String # Instance name of the host machine. instanceName:String # Machine type of the host machine. machineType:String #The cloud project identifier. # #Examples: Google Cloud Project id, Azure Project id. projectId:String # The cloud project name. # #Examples: Google Cloud Project name, Azure Project name. projectName:String # Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean. provider:String # Region in which this host, resource, or service is located region:String # The cloud service name is intended to distinguish services running on different platforms within a provider, eg AWS EC2 vs Lambda, GCP GCE vs App Engine, Azure VM vs App Server. # #Examples: app engine, app service, cloud run, fargate, lambda. serviceName:String description:String #Provides the cloud information of the origin entity in case of an incoming request or event. origin:Cloud @relation(mappingType: "foreign") #Provides the cloud information of the target entity in case of an outgoing request or event. target:Cloud @relation(mappingType: "foreign") }