Skip to content

Commit

Permalink
Add: Add repo model property for enabled dependabot security updates
Browse files Browse the repository at this point in the history
The status is missing in our model. Maybe it was added later on.
  • Loading branch information
bjoernricks committed Sep 27, 2023
1 parent 0ad99e9 commit a31ae3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pontos/github/models/organization.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,15 @@ class SecurityAndAnalysis(GitHubModel):
Attributes:
advanced_security: Status of GitHub Advanced Security is used
dependabot_security_updates: Status of Dependabot security updates are
used
secret_scanning: Status of Secret Scanning is used
secret_scanning_push_protection: Status of Secret Scanning Push
Protection is used
"""

advanced_security: Optional[SecurityAndAnalysisType] = None
dependabot_security_updates: Optional[SecurityAndAnalysisType] = None
secret_scanning: Optional[SecurityAndAnalysisType] = None
secret_scanning_push_protection: Optional[SecurityAndAnalysisType] = None

Expand Down

0 comments on commit a31ae3c

Please sign in to comment.