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

Dependabot Alert API #890

Merged
merged 3 commits into from
Oct 2, 2023
Merged

Dependabot Alert API #890

merged 3 commits into from
Oct 2, 2023

Conversation

bjoernricks
Copy link
Contributor

What

Add an API for handling the GitHub Dependabot Security Alerts

https://docs.github.com/en/rest/dependabot/alerts

Why

Allows to analyze the repos of an enterprise or organization for security issues.

References

DEVOPS-817

Checklist

  • Tests

SortOrder is either desc or asc and can be used at several places in the
GitHub API. Therefore it is a base model class.
Add models to be able to evaluate responses of the GitHub dependabot
API.
@bjoernricks bjoernricks requested a review from a team as a code owner October 2, 2023 13:31
@bjoernricks bjoernricks enabled auto-merge (rebase) October 2, 2023 13:31
@github-actions
Copy link

github-actions bot commented Oct 2, 2023

Conventional Commits Report

Type Number
Added 2
Changed 1

🚀 Conventional commits found.

This will allow for example to take a look at the severity of dependabot
alerts in an organization.
@codecov
Copy link

codecov bot commented Oct 2, 2023

Codecov Report

Merging #890 (f05c028) into main (ba7f8c9) will increase coverage by 0.15%.
The diff coverage is 95.59%.

@@            Coverage Diff             @@
##             main     #890      +/-   ##
==========================================
+ Coverage   89.62%   89.78%   +0.15%     
==========================================
  Files          84       86       +2     
  Lines        5620     5774     +154     
  Branches      789      813      +24     
==========================================
+ Hits         5037     5184     +147     
- Misses        414      416       +2     
- Partials      169      174       +5     
Files Coverage Δ
pontos/github/models/base.py 100.00% <100.00%> (ø)
pontos/github/models/dependabot.py 100.00% <100.00%> (ø)
pontos/github/models/search.py 100.00% <100.00%> (ø)
pontos/github/api/api.py 88.73% <75.00%> (-0.82%) ⬇️
pontos/github/api/dependabot.py 88.46% <88.46%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@bjoernricks bjoernricks merged commit d297656 into main Oct 2, 2023
18 checks passed
@bjoernricks bjoernricks deleted the dependabot-api branch October 2, 2023 14:32
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