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(OCSF): improve OCSF logic #2502

Merged
merged 2 commits into from
Jun 19, 2023
Merged

chore(OCSF): improve OCSF logic #2502

merged 2 commits into from
Jun 19, 2023

Conversation

sergargar
Copy link
Member

Description

Improve OCSF logic in order to validate all attributes with Pydantic.

License

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

@sergargar sergargar requested a review from a team June 19, 2023 09:42
)


def generate_json_ocsf_status(status: str):
Copy link
Member

Choose a reason for hiding this comment

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

Please include tests for this new functions. Thanks!

  • generate_json_ocsf_status
  • generate_json_ocsf_status_id
  • generate_json_ocsf_severity_id

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@sergargar sergargar requested a review from jfagoagas June 19, 2023 10:05
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.

🚀

@sergargar sergargar merged commit 8ea5ba5 into master Jun 19, 2023
@sergargar sergargar deleted the improve-ocsf-integration branch June 19, 2023 10:37
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.

2 participants