Class SecretScanResult
java.lang.Object
io.jenkins.plugins.secretguard.model.SecretScanResult
-
Constructor Summary
ConstructorsConstructorDescriptionSecretScanResult(String targetId, String targetType, List<SecretFinding> findings, boolean blocked) SecretScanResult(String targetId, String targetType, List<SecretFinding> findings, boolean blocked, Instant scannedAt) SecretScanResult(String targetId, String targetType, List<SecretFinding> findings, boolean blocked, List<String> notes) SecretScanResult(String targetId, String targetType, List<SecretFinding> findings, boolean blocked, List<String> notes, Instant scannedAt) -
Method Summary
Modifier and TypeMethodDescriptionstatic SecretScanResultstatic SecretScanResultlonggetNotes()longbooleanhasActionableFindingsAtOrAbove(Severity severity) booleanbooleanbooleanhasNotes()boolean
-
Constructor Details
-
SecretScanResult
public SecretScanResult(String targetId, String targetType, List<SecretFinding> findings, boolean blocked) -
SecretScanResult
public SecretScanResult(String targetId, String targetType, List<SecretFinding> findings, boolean blocked, Instant scannedAt) -
SecretScanResult
-
SecretScanResult
-
-
Method Details
-
empty
-
empty
-
getTargetId
-
getTargetType
-
getFindings
-
getNotes
-
getHighestSeverity
-
isBlocked
public boolean isBlocked() -
getScannedAt
-
hasFindings
public boolean hasFindings() -
hasNotes
public boolean hasNotes() -
hasActionableFindingsAtOrAbove
-
getUnexemptedHighCount
public long getUnexemptedHighCount() -
getExemptedFindingsCount
public long getExemptedFindingsCount() -
hasExemptedFindings
public boolean hasExemptedFindings()
-