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

Add critical and timestamp parameters to on_security_event functions #795

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

hikinggrass
Copy link
Contributor

This adds "critical" and "timestamp" parameters to the on_security_event functions for OCPP 1.6 and 2.0.1

Criticality is by default determined based on the 1.6 security whitepaper, but can be overwritten externally

By default the current datetime is used for the timestamp, but this can also be overwritten externally (for example if the event occured earlier)

Describe your changes

Issue ticket number and link

Checklist before requesting a review

This adds "critical" and "timestamp" parameters to the on_security_event functions for OCPP 1.6 and 2.0.1

Criticality is by default determined based on the 1.6 security whitepaper, but can be overwritten externally

By default the current datetime is used for the timestamp, but this can also be overwritten externally (for example if the event occured earlier)

Signed-off-by: Kai-Uwe Hermann <[email protected]>
Copy link
Contributor

@maaikez maaikez left a comment

Choose a reason for hiding this comment

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

Looks good

Signed-off-by: Kai-Uwe Hermann <[email protected]>
@hikinggrass hikinggrass merged commit 10ff71f into main Sep 23, 2024
4 checks passed
@hikinggrass hikinggrass deleted the feature/set-timestamp-for-ocpp-security-event branch September 23, 2024 10: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
Development

Successfully merging this pull request may close these issues.

2 participants