Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Conversation

@mlw
Copy link
Contributor

@mlw mlw commented Nov 20, 2023

This is experimental code only and will be stripped out before the next release.

Sample metric output:

  Metric Name               | /santa/tmp_signing_info_experiment
 Description               | Temporary experiment for dev signed code
 Type                      | SNTMetricTypeCounter
 Field                     | CSDevFlagSet=False,ValidationCategory=False,DevOIDSet=False
 Created                   | 2023-11-20T15:46:32.345Z
 Last Updated              | 2023-11-20T15:57:55.462Z
 Data                      | 58
 Field                     | CSDevFlagSet=True,ValidationCategory=True,DevOIDSet=True
 Created                   | 2023-11-20T15:55:42.191Z
 Last Updated              | 2023-11-20T15:55:42.191Z
 Data                      | 1

Sample log line (note: test code changed to force this output, wouldn't normally display since no delta exists):

I com.google.santa.daemon: EXPERIMENTAL Unexpected state difference: /bin/ls | Flags(0): 0x22013b11, VC(0): 1, oids(0): (
    "2.16.840.1.113741.2.1.1.1.6",
    "2.5.29.14",
    "2.16.840.1.113741.2.1.3.2.1",
    "2.16.840.1.113741.2.1.1.1.7",
    "2.5.29.32",
    "2.16.840.1.113741.2.1.3.2.2",
    "2.16.840.1.113741.2.1.1.1.8",
    "1.2.840.113635.100.6.22",
    "2.16.840.1.113741.2.1.1.1.10",
    "2.16.840.1.113741.2.1.1.1.2",
    "2.16.840.1.113741.2.1.1.1.9",
    "2.5.29.15",
    "2.5.4.3",
    "2.5.29.19",
    "2.16.840.1.113741.2.1.1.1.3",
    "2.5.29.24",
    Fingerprints,
    "2.5.29.31",
    "2.5.29.35",
    "2.5.29.37",
    "2.16.840.1.113741.2.1.1.1.5"
)
@mlw mlw added metrics Code / work related to Santa observability / monitoring santad Work related to the Santa Daemon testing labels Nov 20, 2023
@mlw mlw requested a review from a team as a code owner November 20, 2023 16:04
Copy link
Contributor

@pmarkowsky pmarkowsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@mlw mlw merged commit f499654 into google:main Nov 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

metrics Code / work related to Santa observability / monitoring santad Work related to the Santa Daemon testing

2 participants