-
Notifications
You must be signed in to change notification settings - Fork 37
/
package.json
227 lines (227 loc) · 7.69 KB
/
package.json
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
{
"name": "@mitre/saf",
"description": "The MITRE Security Automation Framework (SAF) Command Line Interface (CLI) brings together applications, techniques, libraries, and tools developed by MITRE and the security community to streamline security automation for systems and DevOps pipelines.",
"version": "1.4.16",
"author": "The MITRE Security Automation Framework",
"bin": "./bin/run",
"bugs": "https://github.com/mitre/saf/issues",
"dependencies": {
"@aws-sdk/client-config-service": "^3.398.0",
"@aws-sdk/client-securityhub": "^3.287.0",
"@azure/identity": "^4.3.0",
"@microsoft/microsoft-graph-client": "^3.0.7",
"@microsoft/microsoft-graph-types": "^2.40.0",
"@mitre/emass_client": "3.10.0",
"@mitre/hdf-converters": "2.10.20",
"@mitre/heimdall-lite": "2.10.20",
"@mitre/inspec-objects": "1.0.1",
"@oclif/core": "^4.0.15",
"@oclif/plugin-help": "^6.0.9",
"@oclif/plugin-plugins": "^5.0.14",
"@oclif/plugin-version": "^2.0.11",
"@oclif/plugin-warn-if-update-available": "^3.0.15",
"@smithy/node-http-handler": "^3.0.0",
"@types/chai": "^4",
"@types/express": "^5.0.0",
"@types/fs-extra": "^11.0.1",
"@types/get-installed-path": "^4.0.1",
"@types/jest": "^29.5.11",
"@types/lodash": "^4.14.197",
"@types/mocha": "^10",
"@types/mustache": "^4.2.2",
"@types/node": "^22",
"@types/objects-to-csv": "^1.3.1",
"@types/prompt-sync": "^4.2.0",
"@types/tmp": "^0.2.3",
"@types/uuid": "^10.0.0",
"@types/xml2js": "^0.4.12",
"accurate-search": "^1.2.15",
"ajv": "^8.12.0",
"app-root-path": "^3.1.0",
"axios": "^1.5.0",
"chai": "^4",
"colors": "^1.4.0",
"csv-parse": "^4.16.0",
"dotenv": "^16.3.1",
"express": "^4.17.3",
"fast-xml-parser": "^4.2.7",
"flat": "^6.0.1",
"form-data": "^4.0.0",
"fs-extra": "^11.1.1",
"fuse.js": "^7.0.0",
"get-installed-path": "^4.0.8",
"htmlparser2": "^9.0.0",
"https": "^1.0.0",
"inquirer": "8.0.0",
"inquirer-file-tree-selection-prompt": "2.0.2",
"inspecjs": "^2.10.16",
"jest": "^29.7.0",
"jest-mock": "^29.7.0",
"js-yaml": "^4.1.0",
"jsdom": "^25.0.1",
"json-colorizer": "^3.0.1",
"lodash": "^4.17.21",
"markdown-diff": "^2.0.0",
"markdown-table-ts": "^1.0.3",
"moment": "^2.29.4",
"mustache": "^4.2.0",
"objects-to-csv": "^1.3.6",
"open": "^10.0.0",
"prompt-sync": "^4.2.0",
"run-script-os": "^1.1.6",
"table": "^6.8.1",
"ts-jest": "^29.1.1",
"ts-node": "^10",
"tsimportlib": "^0.0.5",
"tslib": "^2",
"typescript": "~5.7",
"uuid": "^11.0.2",
"winston": "^3.10.0",
"xlsx-populate": "^1.21.0",
"xml2js": "^0.6.2",
"yaml": "^2.3.2",
"zip-lib": "^1.0.0"
},
"devDependencies": {
"@e965/xlsx": "^0.20.0",
"@oclif/test": "^4.1.0",
"@types/js-yaml": "^4.0.9",
"@types/jsdom": "^21.1.7",
"@types/mock-fs": "^4.13.4",
"@typescript-eslint/eslint-plugin": "~7.18.0",
"eslint": "^8.48.0",
"eslint-config-oclif": "^4.0",
"eslint-config-oclif-typescript": "^1.0.3",
"eslint-plugin-unicorn": "^56.0.0",
"marked": "^15.0.0",
"mocha": "^10",
"mock-fs": "^5.2.0",
"oclif": "^4.8.8",
"tmp": "^0.2.1",
"ts-mocha": "^10.0.0"
},
"engines": {
"node": "^18.19.0"
},
"files": [
"/bin",
"/lib",
"/docs"
],
"homepage": "https://github.com/mitre/saf",
"keywords": [
"oclif"
],
"license": "Apache-2.0",
"main": "lib/index.js",
"oclif": {
"commands": "./lib/commands",
"helpClass": "./lib/utils/oclif/help/help",
"theme": "./oclif-theme.json",
"additionalHelpFlags": [
"-h",
"--tell-me-more",
"--explain"
],
"additionalVersionFlags": [
"-v"
],
"bin": "saf",
"plugins": [
"@oclif/plugin-version",
"@oclif/plugin-plugins",
"@oclif/plugin-help",
"@oclif/plugin-warn-if-update-available"
],
"macos": {
"identifier": "org.mitre.saf"
},
"warn-if-update-available": {
"timeoutInDays": 1,
"registry": "https://www.npmjs.com/package/@mitre/saf",
"message": "<%= config.name %> update available from <%= chalk.greenBright(config.version) %> to <%= chalk.greenBright(latest) %>."
},
"topicSeparator": " ",
"topics": {
"attest": {
"description": "[Attest] Attest to 'Not Reviewed' control requirements (that can’t be tested automatically by security tools and hence require manual review), helping to account for all requirements"
},
"convert": {
"description": "[Normalize] Convert security results from all your security tools between common data formats"
},
"generate": {
"description": "[Generate] Generate pipeline thresholds, configuration files, and more"
},
"harden": {
"description": "[Harden] Implement security baselines using Ansible, Chef, and Terraform content: Visit https://saf.mitre.org/#/harden to explore and run hardening scripts"
},
"scan": {
"description": "[Scan] Scan to get detailed security testing results: Visit https://saf.mitre.org/#/validate to explore and run inspec profiles"
},
"supplement": {
"description": "[Supplement] Supplement (ex. read or modify) elements that provide contextual information in the Heimdall Data Format results JSON file such as `passthrough` or `target`"
},
"supplement:passthrough": {
"description": "Supplement (ex. read or modify) the `passthrough` element, which provides contextual information in the Heimdall Data Format results JSON file"
},
"supplement:target": {
"description": "Supplement (ex. read or modify) the `target` element, which provides contextual information in the Heimdall Data Format results JSON file"
},
"validate": {
"description": "[Validate] Verify pipeline thresholds"
},
"view": {
"description": "[Visualize] Identify overall security status and deep-dive to solve specific security defects"
},
"emasser": {
"description": "[eMASS] The eMASS REST API implementation"
},
"emasser:get": {
"description": "eMass REST API GET endpoint commands"
},
"emasser:post": {
"description": "eMass REST API POST endpoint commands"
},
"emasser:put": {
"description": "eMass REST API PUT endpoint commands"
},
"emasser:delete": {
"description": "eMass REST API DELETE endpoint commands"
}
}
},
"repository": "mitre/saf",
"scripts": {
"lint": "eslint \"src/**/*.ts\" --fix",
"lint:ci": "eslint \"src/**/*.ts\" --max-warnings 0",
"dev": "rm -rf lib && tsc && node bin/run",
"test": "npm run test:mocha && npm run test:jest",
"tests": "npm run test",
"test:mocha": "ts-mocha --timeout 25000 --forbid-only \"test/**/*.test.ts\"",
"test:mocha:one": "ts-mocha --timeout 25000 --forbid-only",
"test:jest": "jest",
"test:jest:one": "jest --findRelatedTests",
"prepack": "run-script-os",
"prepack:win32": "(IF EXIST lib rmdir /s /q lib) && tsc",
"prepack:darwin:linux": "rm -rf lib && tsc",
"pack-hdf-converters": "run-script-os",
"pack-hdf-converters:win32": "pack-hdf-converters.bat",
"pack-hdf-converters:darwin:linux": "./pack-hdf-converters.sh",
"pack-inspecjs": "run-script-os",
"pack-inspecjs:win32": "pack-inspecjs.bat",
"pack-inspecjs:darwin:linux": "./pack-inspecjs.sh"
},
"types": "lib/index.d.ts",
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/test/**/**/**/__tests__/**/*.ts"
]
},
"mocha": {
"exclude": [
"**/test/**/**/__tests__/**/*.ts"
]
}
}