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

alerts: add create and close github calls for security advisories #1178

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

rdimitrov
Copy link
Member

The following PR adds methods for creating and closing a Github security advisory.

Notes:

  • This will be improved in future by using a github.SecurityAdvisory type which has all the necessary fields once go-github release a new version and we migrate to it. We are at v53, last is v55, so waiting for v56.
  • Eventually the goal is to replace these completely by using dedicated calls provided by go-github after they are made available (potentially upstreaming these changes?).

Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>
Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>
@rdimitrov rdimitrov self-assigned this Oct 11, 2023
Copy link
Contributor

@JAORMX JAORMX left a comment

Choose a reason for hiding this comment

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

nice and simple

@rdimitrov rdimitrov merged commit 0ea1c2b into stacklok:main Oct 12, 2023
12 checks passed
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