go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers/os/id/gcp/testdata/instance_linux.toml (about)

     1  [commands."uname -s"]
     2  stdout = "Linux"
     3  
     4  [commands."uname -m"]
     5  stdout = "x86_64"
     6  
     7  [commands."uname -r"]
     8  stdout = "4.9.125-linuxkit"
     9  
    10  [commands.1cc64a592409d946f50ac1636853572ef0725d0c820d304fb98a4c3bf84aaf00]
    11    command = "curl --noproxy '*' -H Metadata-Flavor:Google http://metadata.google.internal/computeMetadata/v1/instance/zone?alt=json"
    12    stdout = "\"projects/458067389847/zones/us-central1-a\""
    13    exit_status = 0
    14  [commands.4746171c37abe5d0554d931f28a4b28f59e1bbea20c4c3e82f344643c6cb0d86]
    15    command = "curl --noproxy '*' -H Metadata-Flavor:Google http://metadata.google.internal/computeMetadata/v1/project/project-id?alt=json"
    16    stdout = "\"mondoo-dev-262313\""
    17    exit_status = 0
    18  [commands.e094fbb82063cbccce75191cef7520b952380f5ad51ad7cd3ea158b3d67304e3]
    19    command = "curl --noproxy '*' -H Metadata-Flavor:Google http://metadata.google.internal/computeMetadata/v1/instance/id?alt=json"
    20    stdout = "6001244637815193808"
    21    exit_status = 0
    22  [commands.76289c9f237055b0caa630b5573fb42549b144a61d722d17576eef5b698374f5]
    23    command = "curl --noproxy '*' -H Metadata-Flavor:Google http://metadata.google.internal/computeMetadata/v1/instance/name?alt=json"
    24    stdout = "\"instance-name\""
    25    exit_status = 0
    26  
    27  [files."/sys/class/dmi/id/product_name"]
    28    path = "/sys/class/dmi/id/product_name"
    29    enoent = false
    30    content = "Google Compute Engine"