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

Bug fixes for security agent #843

Merged
merged 7 commits into from
Jan 25, 2024
Merged

Bug fixes for security agent #843

merged 7 commits into from
Jan 25, 2024

Conversation

aayush-ap
Copy link
Contributor

Bug Fixes

  • Incorrect query-type/commandName for mongo findAndModify case.
  • Fixed for RXSS event for fastHttp.
  • Minor fix for sql prepare statement.
  • Incorrect server protocol/transport type in case of grpc.
  • Updated csec-go-agent version to v0.6.0

@codecov-commenter
Copy link

codecov-commenter commented Jan 25, 2024

Codecov Report

Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (4c3f82f) 80.26% compared to head (00750a5) 79.73%.
Report is 16 commits behind head on develop.

Files Patch % Lines
v3/integrations/nrmongo/nrmongo.go 0.00% 7 Missing ⚠️
v3/integrations/nrgrpc/nrgrpc_server.go 75.00% 2 Missing and 1 partial ⚠️
v3/newrelic/sql_driver.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #843      +/-   ##
===========================================
- Coverage    80.26%   79.73%   -0.54%     
===========================================
  Files          139      134       -5     
  Lines        12608    12494     -114     
===========================================
- Hits         10120     9962     -158     
- Misses        2197     2229      +32     
- Partials       291      303      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -163,9 +163,9 @@ func ConfigSecurityValidatorServiceEndPointUrl(url string) ConfigOption {
}

// ConfigSecurityDetectionDisableRxss is used to enable or disable RXSS validation.
func ConfigSecurityDetectionDisableRxss(isEnabled bool) ConfigOption {
func ConfigSecurityDetectionDisableRxss(isDisable bool) ConfigOption {
Copy link
Contributor

Choose a reason for hiding this comment

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

Recommend renaming isDisable to isDisabled to be grammatically correct.

Copy link
Contributor

Choose a reason for hiding this comment

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

We can change this as we prep for release.

@nr-swilloughby nr-swilloughby merged commit f78d122 into newrelic:develop Jan 25, 2024
43 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants