@nextage/era-lib 1.0.214 → 1.0.215
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { BaseI18nEntity } from '../../interfaces';
|
|
2
2
|
import { BaseI18nEventData } from '../types/events.interfaces';
|
|
3
|
+
/**
|
|
4
|
+
* The payload of `vuln.created` / `vuln.updated`: an integration event from the configuration side
|
|
5
|
+
* towards the company/risk side, which may one day keep a local projection of the catalogue fed by
|
|
6
|
+
* it. `attributes` are part of what that projection needs - the weight of a manual vulnerability on
|
|
7
|
+
* a control follows them - and travel as `{ id }`, already restricted to OPERATIONAL_CAPABILITY.
|
|
8
|
+
*/
|
|
3
9
|
export interface VulnerabilityEventData extends BaseI18nEventData {
|
|
4
10
|
category?: BaseI18nEntity;
|
|
5
11
|
analysisTypes?: string[];
|
|
12
|
+
attributes?: {
|
|
13
|
+
id: string;
|
|
14
|
+
}[];
|
|
6
15
|
}
|
|
7
16
|
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/events/vulnerability/interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAS,kBAAkB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,MAAM,WAAW,sBAAuB,SAAQ,iBAAiB;IAC/D,QAAQ,CAAC,EAAO,cAAc,CAAC;IAC/B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/events/vulnerability/interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAS,kBAAkB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D;;;;;GAKG;AACH,MAAM,WAAW,sBAAuB,SAAQ,iBAAiB;IAC/D,QAAQ,CAAC,EAAO,cAAc,CAAC;IAC/B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,UAAU,CAAC,EAAK;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAClC"}
|