-
Notifications
You must be signed in to change notification settings - Fork 72
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
VulnsV2: Add missing invocation to protos and spec #434
Conversation
/cc @hectorj2f |
I've pushed another commit renaming |
Another problem: "metadata": {
"scanStartedOn": "2021-08-06T17:45:50.52Z",
"scanFinishedOn": "2021-08-06T17:50:50.52Z"
} Yet the protos have it as
Should we rename it? I would suggest changing the proto (and thus, the generated code) to avoid ugly hacks with annotations, etc. On the downside, it would be a breaking change but I think the generated libraries have not been released yet. |
@puerco have you seen #408 ? I think that the
No need for that :) We automatically regenerate these with the CI whenever the protos change. |
@puerco Yes! The |
Grrr no! I missed that :( :( |
@puerco Thanks so much, sorry for the extra work! |
This commit renames the scanner database field (to db) and the scanner_metadata field (to just metadata) to match the vulns02 spec. Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
292fce1
to
e474a1f
Compare
No worries, I should have gone through the examples :D I rescoped the PR to handle the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @puerco ! Thanks so much for sending this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @puerco good catch!
Thanks @puerco |
This PR updates the vulns02 protos to rename the
scanner.database
field (toscanner.db
) and thescanner_metadata
field (to justmetadata
) to match the vulns02 spec.Sample generated predicate (with the go library):
Signed-off-by: Adolfo García Veytia (Puerco) [email protected]