Class Alert
java.lang.Object
com.michelin.cert.redscan.utils.datalake.DatalakeStorageItem
com.michelin.cert.redscan.utils.models.reports.Vulnerability
com.michelin.cert.redscan.utils.models.reports.Alert
- All Implemented Interfaces:
Sendable
Common Alert model.
- Author:
- Maxime ESCOURBIAC
-
Field Summary
Fields inherited from class com.michelin.cert.redscan.utils.datalake.DatalakeStorageItem
blocked, data, index, parent -
Constructor Summary
ConstructorsConstructorDescriptionAlert()Default constructor.Alert(Vulnerability vulnerability) Create an alert from vulnerability. -
Method Summary
Methods inherited from class com.michelin.cert.redscan.utils.models.reports.Vulnerability
fromDatalake, fromJson, generateId, getDescription, getId, getOrigin, getSeverity, getSummary, getTags, getUrl, setDescription, setId, setOrigin, setSeverity, setSummary, setTags, setUrl, toJson, upsertMethods inherited from class com.michelin.cert.redscan.utils.datalake.DatalakeStorageItem
block, create, delete, find, find, findAll, findAll, findAll, findAll, findAllContent, findAllContent, findAllContent, findAllContent, findContent, fromDate, getBlocked, getBlockId, getData, getIndex, getLastScanDate, getParent, isBlocked, removeField, search, search, search, search, searchContent, searchContent, searchContent, searchContent, setBlocked, setData, setIndex, setLastScanDate, setParent, toDate, unblock, upsertField
-
Constructor Details
-
Alert
public Alert()Default constructor. -
Alert
Create an alert from vulnerability.- Parameters:
vulnerability- Vulnerability model.
-
-
Method Details
-
getFanoutExchangeName
Description copied from interface:SendableGet Fanout exchange name.- Specified by:
getFanoutExchangeNamein interfaceSendable- Overrides:
getFanoutExchangeNamein classVulnerability- Returns:
- Fanout exchange name.
-