forked from Mixeway/MixewayBackend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue Mixeway#105 - Vulnerability History - extend to history of seve…
…rities
- Loading branch information
majewm15
committed
Nov 23, 2023
1 parent
14720f9
commit 98806af
Showing
5 changed files
with
102 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
src/main/java/io/mixeway/api/project/model/ProjectVulnHistory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package io.mixeway.api.project.model; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
import java.util.LinkedList; | ||
import java.util.List; | ||
|
||
@Builder | ||
@AllArgsConstructor | ||
@Getter | ||
@Setter | ||
public class ProjectVulnHistory { | ||
private Long infrastructure; | ||
private Long infrastructureCritical; | ||
private Long infrastructureHigh; | ||
private Long infrastructureMedium; | ||
private Long infrastructureLow; | ||
private Long webApp; | ||
private Long webAppCritical; | ||
private Long webAppHigh; | ||
private Long webAppMedium; | ||
private Long webAppLow; | ||
private Long code; | ||
private Long codeCritical; | ||
private Long codeHigh; | ||
private Long codeMedium; | ||
private Long codeLow; | ||
private Long audit; | ||
private Long softwarePacketVulnNumber; | ||
private String name; | ||
private String inserted; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters