Merge pull request #6864 from snyk/docs/agents.md#6867
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
|
||
| // We want to scrub the debug log of sensitive information. Since we have a list of commands we know can occur, we can intersect that with arguments we don't recognize, and automatically scrub all those from the logs. | ||
| if debugEnabled { | ||
| writeLogHeader(globalConfiguration, networkAccess) |
There was a problem hiding this comment.
context: writeLogHeader will call config.GetString(configuration.ORGANIZATION) before analytics are initialised, so we move it to just after globalEngine.Init()
There was a problem hiding this comment.
I wonder if the goal is to call config.GetString(configuration.ORGANIZATION), maybe we should do it explicitly here? wdyt?
There was a problem hiding this comment.
I think its right where it currently is, config.GetString(configuration.ORGANIZATION) fetches the configured org so should be called close to where it is going to be used - which is in writeLogHeader()
This comment has been minimized.
This comment has been minimized.
chore: add scripts for metadata and shasum validation
5f49a4b to
3a47883
Compare
This comment has been minimized.
This comment has been minimized.
PR Reviewer Guide 🔍
|
|
I think the PR description ( |
docs: adding basic agents.md
Pull Request Submission Checklist
are release-note ready, emphasizing
what was changed, not how.
What does this PR do?
This PR adds some new instrumentation data to measure how we perform organisation lookups in GAF.
Where should the reviewer start?
Related GAF PR
How should this be manually tested?
Run the following commands and check for the instrumentation entry:
Note that:
Outputs the wrong instrumentation data as outlined in
RFC: Consistent Organization Resolution.What's the product update that needs to be communicated to CLI users?
N/A - internal change
Risk assessment (Low | Medium | High)?
Low - changes to instrumentation data