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

chore: Send integrated IaC test analytics [CFG-2169] #3882

Merged
merged 1 commit into from
Sep 29, 2022

Conversation

ofekatr
Copy link
Contributor

@ofekatr ofekatr commented Sep 29, 2022

What does this PR do?

  • Adds the analytics computed for the integrated IaC test flow to the Snyk CLI analytics.

Where should the reviewer start?

src/lib/iac/test/v2/analytics/index.ts

Any background context you want to provide?

  • In CFG-2157 we’ve computed the analytics we would like to save and after coordinating with BI we are ready to send them over the network to be saved.

  • BI clarified that the new analytics should be saved in snyk_cli_was_run (which is the new 2nd “version” of cli_tracking_data).

  • The CLI is using the add function to add new data to the metadata field of the analytics, then at the end of each scan the CLI sends those analytics to registry to get processed and then saved, Avishag from team hammer confirmed that this data is saved in both cli_tracking_data and snyk_cli_was_run.

What are the relevant tickets?

@ofekatr ofekatr changed the title chore: Send integrated IaC test analytics chore: Send integrated IaC test analytics [CFG-2169] Sep 29, 2022
@ofekatr ofekatr force-pushed the chore/send-integrated-iac-test-analytics-cfg-2169 branch from 29d7ce1 to 70dfcc0 Compare September 29, 2022 10:33
@ofekatr ofekatr marked this pull request as ready for review September 29, 2022 10:34
@ofekatr ofekatr requested a review from a team as a code owner September 29, 2022 10:34
@ofekatr ofekatr requested review from francescomari and removed request for YairZ101 September 29, 2022 10:35
@ofekatr ofekatr force-pushed the chore/send-integrated-iac-test-analytics-cfg-2169 branch from 70dfcc0 to acf4c5c Compare September 29, 2022 11:27
Copy link
Contributor

@francescomari francescomari left a comment

Choose a reason for hiding this comment

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

🚀

@ofekatr ofekatr merged commit 9e2d5f1 into master Sep 29, 2022
@ofekatr ofekatr deleted the chore/send-integrated-iac-test-analytics-cfg-2169 branch September 29, 2022 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants