Skip to content

Commit

Permalink
feat: improved findigs
Browse files Browse the repository at this point in the history
  • Loading branch information
1101-1 committed Oct 18, 2024
1 parent 2d46f10 commit 403a4c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fixlib/fixlib/baseresources.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,16 @@ class Severity(StrEnum):
medium = "medium"
high = "high"
critical = "critical"
unknown = "unknown"


@define(slots=True)
class Finding:
title: str
severity: Severity = Severity.medium
severity: Severity = Severity.unknown
description: Optional[str] = None
remediation: Optional[str] = None
created_at: Optional[datetime] = None
updated_at: Optional[datetime] = None
details: Optional[Json] = None


Expand Down

0 comments on commit 403a4c6

Please sign in to comment.