[Telemetry] Collect trusted application policy scope. (#116281)

This commit is contained in:
Pete Hampton 2021-10-26 15:35:10 +01:00 committed by GitHub
parent ff8e0f54e4
commit d59d0c92ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -140,6 +140,7 @@ export const exceptionListEventFields: AllowlistFields = {
name: true,
os_types: true,
rule_version: true,
scope: true,
};
/**

View file

@ -108,6 +108,7 @@ export const trustedApplicationToTelemetryEntry = (trustedApplication: TrustedAp
updated_at: trustedApplication.updated_at,
entries: trustedApplication.entries,
os_types: [trustedApplication.os],
scope: trustedApplication.effectScope,
} as ExceptionListItem;
};