-
Notifications
You must be signed in to change notification settings - Fork 54
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
feat: add codeql scheduled cronjob #214
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: sakshi-1505 <[email protected]>
Signed-off-by: sakshi-1505 <[email protected]>
@codeboten Please check this |
# │ │ │ │ │ | ||
# │ │ │ │ │ | ||
# * * * * * | ||
- cron: '30 1 * * *' |
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.
I'm not sure we should have it periodically. Upon merge and on PRs should be sufficient.
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.
I had been checking the other projects which are mark complete, they had cron schedule too. But I just read the advisory here open-telemetry/sig-security#15 & looks like we only need to merge & prs against main
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.
I think a cron schedule is actually very useful. Often you will not introduce a security issue on merge, but it will pop up without code changes, simply because it is later discovered that it was already there but not known yet.
This is especially of interest if we don't merge anything for a while.
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.
What should be the next step here folks?
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.
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.
@Oberon00 has a good point, feel free to keep the scheduled runs.
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.
Can we get this approved then @jpkrohling
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.
In practice, this project is actually split between three different projects (at least):
Semconv generator, Protobuf and CPP tooling.
I'm concerned about two things with this repo:
- Lack of attention from those named to own the repo (myself included)
- Very broad set of responsibilities across OTEL with true owners (e.g. CPP tooling) being a different SiG.
For now, would you be willing to do codeql analysis separately on each subdirectory so we get a different alert/error notification and direct to the "true" owners?
refers #212