[go: nahoru, domu]

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(test): enhance OCSF tests #4386

Conversation

pedrooot
Copy link
Member
@pedrooot pedrooot commented Jul 5, 2024

Context

Test on transform from OCSF class wasn't checking all the fields from DetectionFinding

Description

The test is enhanced to check all the fields from the new object.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@pedrooot pedrooot requested review from a team as code owners July 5, 2024 07:25
Copy link
Member
@jfagoagas jfagoagas left a comment

Choose a reason for hiding this comment

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

🔝

Copy link
codecov bot commented Jul 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.59%. Comparing base (bf83f38) to head (ab225cd).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4386      +/-   ##
==========================================
- Coverage   87.62%   87.59%   -0.04%     
==========================================
  Files         851      851              
  Lines       26600    26600              
==========================================
- Hits        23307    23299       -8     
- Misses       3293     3301       +8     

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

@pedrooot pedrooot merged commit d7dffbc into master Jul 5, 2024
10 of 11 checks passed
@pedrooot pedrooot deleted the PRWLR-4058-improve-tests-from-test-ocsf-checking-that-all-fields-are-present branch July 5, 2024 09:19
jfagoagas pushed a commit that referenced this pull request Jul 9, 2024
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.

None yet

2 participants