generated from JupiterOne-Archives/integration-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.ts
70 lines (65 loc) · 1.5 KB
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
interface ScanFactoryScan {
amiId: string;
ownerId: number;
name: string;
cyberVault: CyberVaultCve[];
}
interface CyberVaultCve {
id: string;
}
interface ScanFactoryPointer {
originAmiId: string;
encryptedAmiId: string;
}
const scanFactoryScans: ScanFactoryScan[] = [
{
// CS1 Origin
amiId: 'ami-1111111111111111',
ownerId: 139824376857,
name: 'hsbc-amzn2-Proxy-AL2-2021-12-26_13.27.03',
cyberVault: [{ id: 'CVE-11111' }],
},
{
// NCS1 origin
amiId: 'ami-4444444444444444',
ownerId: 508776121216,
name: 'hsbc-amzn2-Proxy-AL2-2021-12-26_13.27.03',
cyberVault: [{ id: 'CVE-11111' }],
},
{
// NCS1 - ap-east-1
amiId: 'ami-3333333333333333',
ownerId: 508776121216,
name: 'hsbc-amzn2-Proxy-AL2-2021-12-26_13.27.03',
cyberVault: [{ id: 'CVE-11111' }],
},
{
// NCS2 Origin
amiId: 'ami-2222222222222222',
ownerId: 139824376857,
name: 'hsbc-amzn2-Proxy-AL2-2021-12-26_13.27.03',
cyberVault: [{ id: 'CVE-11111' }],
},
];
const scanFactoryPointers: ScanFactoryPointer[] = [
{
originAmiId: 'ami-1111111111111111',
encryptedAmiId: 'ami-095d00f1ca707489f',
},
{
originAmiId: 'ami-2222222222222222',
encryptedAmiId: 'ami-040702d0bf20e67b3',
},
{
originAmiId: 'ami-3333333333333333',
encryptedAmiId: 'ami-0f30ae0b8a35df601',
},
{
originAmiId: 'ami-4444444444444444',
encryptedAmiId: 'ami-0013f08799372764e',
},
];
export const config = {
scanFactoryScans,
scanFactoryPointers,
};