faros-airbyte-common 0.11.4 → 0.11.6

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.
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/vanta/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -0,0 +1,73 @@
1
+ export type Vulnerability = {
2
+ id: string;
3
+ name: string;
4
+ description: string;
5
+ integrationId: string;
6
+ packageIdentifier: string | null;
7
+ vulnerabilityType: 'CONFIGURATION' | 'COMMON' | 'GROUPED';
8
+ targetId: string;
9
+ firstDetectedDate: string;
10
+ sourceDetectedDate: string | null;
11
+ lastDetectedDate: string | null;
12
+ severity: 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL' | null;
13
+ cvssSeverityScore: number | null;
14
+ scannerScore: number | null;
15
+ isFixable: boolean;
16
+ remediateByDate: string | null;
17
+ relatedVulns: string[];
18
+ relatedUrls: string[];
19
+ externalURL: string;
20
+ scanSource?: string;
21
+ deactivateMetadata: {
22
+ isVulnDeactivatedIndefinitely: boolean;
23
+ deactivatedUntilDate: string | null;
24
+ deactivationReason: string;
25
+ deactivatedOnDate: string;
26
+ deactivatedBy: string;
27
+ } | null;
28
+ asset?: VulnerableAssetSummary;
29
+ };
30
+ export type VulnerabilityRemediation = {
31
+ id: string;
32
+ vulnerabilityId: string;
33
+ vulnerableAssetId: string;
34
+ severity: 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL';
35
+ detectedDate: string;
36
+ slaDeadlineDate: string;
37
+ remediationDate: string;
38
+ asset?: VulnerableAssetSummary;
39
+ };
40
+ export type VulnerableAsset = {
41
+ id: string;
42
+ name: string;
43
+ assetType: 'CODE_REPOSITORY' | 'CONTAINER_REPOSITORY' | 'CONTAINER_REPOSITORY_IMAGE' | 'MANIFEST_FILE' | 'SERVER' | 'SERVERLESS_FUNCTION' | 'WORKSTATION';
44
+ hasBeenScanned: boolean;
45
+ imageScanTag: string | null;
46
+ scanners: Scanner[];
47
+ assetTags: AssetTag[] | null;
48
+ parentAccountOrOrganization: string | null;
49
+ biosUuid: string;
50
+ ipv4s: string[] | null;
51
+ ipv6s: string[] | null;
52
+ macAddresses: string[] | null;
53
+ hostnames: string[] | null;
54
+ fqdns: string[] | null;
55
+ operatingSystems: string[] | null;
56
+ targetId: string | null;
57
+ };
58
+ export type Scanner = {
59
+ resourceId: string;
60
+ integrationId: string;
61
+ imageDigest: string | null;
62
+ imagePushedAtDate: string | null;
63
+ imageTags: string[] | null;
64
+ };
65
+ export type AssetTag = {
66
+ key: string;
67
+ value: string;
68
+ };
69
+ export type VulnerableAssetSummary = {
70
+ name: string;
71
+ imageTags: string[];
72
+ type: string;
73
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/vanta/types.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "faros-airbyte-common",
3
- "version": "0.11.4",
3
+ "version": "0.11.6",
4
4
  "description": "Faros Airbyte Connector shared utilities",
5
5
  "keywords": [
6
6
  "airbyte",
@@ -35,6 +35,7 @@
35
35
  "./github/generated": "./lib/github/generated/index.js",
36
36
  "./github/queries": "./lib/github/queries.js",
37
37
  "./jira": "./lib/jira/index.js",
38
+ "./vanta": "./lib/vanta/index.js",
38
39
  "./xray": "./lib/xray/index.js"
39
40
  },
40
41
  "typesVersions": {
@@ -66,6 +67,9 @@
66
67
  "jira": [
67
68
  "./lib/jira/index.d.ts"
68
69
  ],
70
+ "vanta": [
71
+ "./lib/vanta/index.d.ts"
72
+ ],
69
73
  "xray": [
70
74
  "./lib/xray/index.d.ts"
71
75
  ]