Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Usage Telemetry for Detection Rules & Security Lists Tasks #170056

Merged
merged 34 commits into from
Nov 27, 2023

Conversation

KeerthyND
Copy link
Contributor

@KeerthyND KeerthyND commented Oct 27, 2023

Summary

Adding Usage Telemetry for Detection Rules & Secuirty Lists Tasks

Checklist

Delete any items that are not applicable to this PR.

@KeerthyND KeerthyND requested a review from a team as a code owner October 27, 2023 16:36
@KeerthyND KeerthyND added Feature:Telemetry release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. labels Oct 30, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@KeerthyND KeerthyND self-assigned this Oct 30, 2023
@KeerthyND KeerthyND requested a review from pjhampton November 1, 2023 20:31
Copy link
Contributor

@pjhampton pjhampton left a comment

Choose a reason for hiding this comment

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

Cool! I think you are nearly there

@KeerthyND KeerthyND requested a review from pjhampton November 2, 2023 15:54
@@ -71,7 +76,14 @@ export function createTelemetrySecurityListTaskConfig(maxTelemetryBatch: number)
licenseInfo,
LIST_TRUSTED_APPLICATION
);
count += trustedAppsJson.length;
tlog(logger, `Trusted Apps: ${trustedAppsJson}`);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's better not to log the whole JSON but just the relevant info, eg num or records, WDYT?

Copy link
Contributor

Choose a reason for hiding this comment

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

Agree with this given the recent incident. I pushed something into b93311b

@pjhampton pjhampton enabled auto-merge (squash) November 27, 2023 14:23
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

References to deprecated APIs

id before after diff
securitySolution 563 559 -4

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @KeerthyND

@pjhampton pjhampton merged commit e80a6d2 into main Nov 27, 2023
26 checks passed
@pjhampton pjhampton deleted the add-usage-telemetry branch November 27, 2023 15:40
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Nov 27, 2023
@donaherc donaherc changed the title Adding Usage Telemetry for Detection Rules & Secuirty Lists Tasks Adding Usage Telemetry for Detection Rules & Security Lists Tasks Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Telemetry release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants