-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
134 lines (134 loc) · 5.36 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
{
"name": "purpleteam-orchestrator",
"version": "4.0.0-alpha.3",
"description": "Orchestrator component of purpleteam -- security regression testing SaaS",
"exports": "./index.js",
"scripts": {
"lint": "eslint .",
"deps": "npm-check",
"update:deps": "npm-check -u",
"test": "lab --assert @hapi/code --coverage",
"test:coverage": "lab --assert @hapi/code --reporter lcov -o ./coverage/lcov.info",
"test:nolint": "lab --assert @hapi/code --coverage",
"test:debug": "node --inspect-brk ./node_modules/.bin/lab --assert @hapi/code --timeout 0",
"pretest": "npm run lint",
"debug": "node --inspect-brk ./index.js",
"start": "node ./index.js",
"// Legacy commands": "dc-orchestrator, dc-build-orchestrator, dc-up-orchestrator",
"dc-orchestrator": "LOCAL_GROUP_ID=$(id -g) LOCAL_USER_ID=$(id -u) docker-compose -f ./compose/bridge-net-compose.yml",
"dc-build-orchestrator": "npm run dc-orchestrator build",
"dc-up-orchestrator": "npm run dc-orchestrator up",
"// AWS: Setting Credentials in Node.js": "https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-credentials-node.html",
"// AWS Credentials into a Docker Container without Hardcoding It": "https://cameroneckelberry.co/words/getting-aws-credentials-into-a-docker-container-without-hardcoding-it",
"// IAC also passes in env vars": "Here the user ids are the same, in IAC they are different",
"dc-orchestrator-testers": "PT_GROUP_ID=$(id -g) ORCHESTRATOR_USER_ID=$(id -u) APP_SCANNER_USER_ID=$(id -u) TLS_SCANNER_USER_ID=$(id -u) docker-compose -f ./compose/orchestrator-testers-compose.yml",
"// orchestrator debugging": "following commands",
"dc-build-debug-orchestrator": "npm run dc-orchestrator-testers -- -f ./compose/orchestrator-testers-compose.debug_orchestrator.yml build",
"dc-up-debug-orchestrator": "npm run dc-orchestrator-testers -- -f ./compose/orchestrator-testers-compose.debug_orchestrator.yml up",
"// app-scanner debugging": "following commands",
"dc-build-debug-app": "npm run dc-orchestrator-testers -- -f ./compose/orchestrator-testers-compose.debug_app-scanner.yml build",
"dc-up-debug-app": "npm run dc-orchestrator-testers -- -f ./compose/orchestrator-testers-compose.debug_app-scanner.yml up",
"// tls-scanner debugging": "following commands",
"dc-build-debug-tls": "npm run dc-orchestrator-testers -- -f ./compose/orchestrator-testers-compose.debug_tls-scanner.yml build",
"dc-up-debug-tls": "npm run dc-orchestrator-testers -- -f ./compose/orchestrator-testers-compose.debug_tls-scanner.yml up",
"// Full system run": "dc-build, dc-up, dc-down",
"dc-build": "npm run dc-orchestrator-testers build",
"dc-build-no-cache": "npm run dc-orchestrator-testers build -- --no-cache",
"dc-up": "npm run dc-orchestrator-testers up",
"dc-down": "npm run dc-orchestrator-testers down",
"//": "Containers must be up before running exec commands.",
"dc-up-shell-orchestrator": "npm run dc-orchestrator-testers -- exec orchestrator /bin/ash",
"dc-up-shell-app": "npm run dc-orchestrator-testers -- exec app-scanner /bin/ash",
"dc-up-shell-tls": "npm run dc-orchestrator-testers -- exec tls-scanner /bin/ash",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/purpleteam-labs/purpleteam-orchestrator.git"
},
"keywords": [
"agile",
"application security",
"bdd",
"behaviour driven development",
"blue team",
"ci",
"cloud security",
"continuous deployment",
"continuous integration",
"cli",
"cucumber",
"cybersecurity",
"dev sec ops",
"red team",
"security",
"selenium",
"infosec",
"information security",
"tools",
"devsecops",
"devops",
"dev ops",
"purpleteam",
"owasp",
"penetration testing",
"purpleteam",
"security",
"security regression testing",
"software security",
"web application security",
"web security",
"zap"
],
"author": "Kim Carter",
"license": "BSL",
"bugs": {
"url": "https://github.com/purpleteam-labs/purpleteam/issues"
},
"homepage": "https://purpleteam-labs.com",
"dependencies": {
"@gar/hapi-json-api": "^3.1.0",
"@hapi/boom": "^9.1.4",
"@hapi/bourne": "^2.0.0",
"@hapi/hapi": "^20.2.1",
"@hapi/inert": "^6.0.5",
"@hapi/wreck": "^17.1.0",
"ajv": "^8.10.0",
"ajv-errors": "^3.0.0",
"ajv-formats": "^2.1.1",
"convict": "^6.2.1",
"convict-format-with-moment": "^6.2.0",
"convict-format-with-validator": "^6.2.0",
"diff": "^5.0.0",
"joi": "^17.6.0",
"purpleteam-logger": "^2.0.0",
"redis": "^4.1.0",
"susie": "^3.0.0"
},
"//Install ajv --save-dev": "gets rid of npm warning.",
"devDependencies": {
"@hapi/code": "^8.0.6",
"@hapi/lab": "^24.5.1",
"eslint": "^8.9.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.4",
"husky": "^7.0.4",
"npm-check": "^5.9.2",
"sinon": "^13.0.1"
},
"type": "module",
"files": [
"index.js",
"Dockerfile",
"healthcheck.js",
"compose/.env.example",
"compose/orchestrator-testers-compose.yml",
"compose/orchestrator-testers-compose.debug_app-scanner.yml",
"compose/orchestrator-testers-compose.debug_orchestrator.yml",
"config/config.js",
"config/config.example.json",
"src",
"LEGALNOTICE.md",
"licenses"
]
}