Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 33282ef

Browse files
authored
Merge pull request #76 from secureCodeBox/feature/improve-readme-files
Added the persistence Hook for static reporting
2 parents 3ca3c3d + 22d4222 commit 33282ef

File tree

22 files changed

+70
-218
lines changed

22 files changed

+70
-218
lines changed

docs/developer-guide/README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
---
2+
title: "Developer Guide"
3+
path: "docs/developer-guide"
4+
category: "develop"
5+
---
6+
7+
<!-- end -->
8+
19
# Extending secureCodeBox
210

311
## Developing the SCB Operator
@@ -86,21 +94,32 @@ cd operator
8694
make run
8795
```
8896

89-
## How to a New Security Scanner
97+
## How to add a New Security Scanner
9098

9199
### ScanType Definition
100+
> **Following...**
92101
93102
### Parsing SDK
94103

104+
1. Install the dependencies `npm install`
105+
2. Update the parser function here: `./parser/parser.js`
106+
3. Update the parser tests here: `./parser/parser.test.js`
107+
4. Run the test suite: `npm test`
108+
95109
## How to Integrate a New Hook
110+
> **Following...**
96111
97112
### HookType Definition
113+
> **Following...**
98114
99115
### Hook SDK
116+
> **Following...**
100117
101118
## Guidelines
119+
> **Following...**
102120
103121
### Coding Guidelines
122+
> **Following...**
104123
105124
#### JSON
106125

docs/user-guide/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
---
2+
title: "User Guide"
3+
path: "docs/user-guide"
4+
category: "use"
5+
---
6+
7+
<!-- end -->
8+
19
# Using the secureCodeBox
210

3-
follwing...
11+
> **Page under construction.**

hooks/declarative-subsequent-scans/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ spec:
6363
EOF
6464
```
6565

66-
This Scan will used all CascadingRules which are labeled with a "light" intensity.
66+
This Scan will use all CascadingRules which are labeled with a "light" intensity.
6767
You can lookup which CascadingRules this selects by running:
6868

6969
```bash

hooks/generic-webhook/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ Installing the Generic WebHook hook will add a ReadOnly Hook to your namespace.
1616
```bash
1717
helm upgrade --install gwh ./hooks/generic-webhook/ --set webhookUrl="http://example.com/my/webhook/target"
1818
```
19+
> ✍ This documentation is currently work-in-progress.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: "Imperative Scans"
3+
path: "hooks/imperative-subsequent-scans"
4+
category: "hook"
5+
type: "integration"
6+
state: "roadmap"
7+
usecase: "Cascading Scans based imperative Rules."
8+
---
9+
10+
> 🔧 The implementation is currently work-in-progress and still undergoing major changes. It'll be released here once it has stabilized.

hooks/persistence-defectdojo/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "DefectDojo"
33
path: "hooks/persistence-defectdojo"
44
category: "hook"
55
type: "persistenceProvider"
6-
state: "roadmap"
6+
state: "developing"
77
usecase: "Publishes all Scan Findings to DefectDojo."
88
---
99

@@ -18,7 +18,7 @@ Tools which are supported both by the secureCodeBox and DefectDojo (OWASP ZAP &
1818
To learn more about DefectDojo visit [DefectDojo GitHub] or [DefectDojo Website].
1919

2020
## Deployment
21-
The secureCodeBox core team is working on an integration of DefectDojo. We will keep you informed.
21+
> 🔧 The implementation is currently work-in-progress and under still undergoing major changes. It'll be released here once it has stabilized.
2222
2323

2424
[DefectDojo Website]: https://www.defectdojo.org/

hooks/persistence-elastic/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ usecase: "Publishes all Scan Findings to Elasticsearch."
1010
<!-- end -->
1111

1212
## About
13-
The ElasticSearch persistenceProvider hook saves all findings and reports into the configured ElasticSearch index. This allows for some easy searching and visualization of the findings. To learn more about Elasticsearch visit elastic.io.
13+
The ElasticSearch persistenceProvider hook saves all findings and reports into the configured ElasticSearch index. This allows for some easy searching and visualization of the findings. To learn more about Elasticsearch visit [elastic.io].
1414

1515
## Deployment
1616

@@ -52,4 +52,6 @@ elasticsearch:
5252
kibana:
5353
enabled: true
5454
# image: docker.elastic.co/kibana/kibana-oss
55-
```
55+
```
56+
57+
[elastic.io]: https://www.elastic.co/products/elasticsearch
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "Static Report"
3+
path: "hooks/persistence-staticreport"
4+
category: "hook"
5+
type: "persistenceProvider"
6+
state: "developing"
7+
usecase: "Publishes all Scan Findings as HTML Report."
8+
---
9+
10+
<!-- end -->
11+
12+
## Deployment
13+
14+
> 🔧 The implementation is currently work-in-progress and still undergoing major changes. It'll be released here once it has stabilized.
15+

hooks/slack-webhook/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ usecase: "Publishes Scan Summary to Slack."
1313

1414
Installing the Slack WebHook hook will add a ReadOnly Hook to your namespace.
1515

16-
The secureCodeBox core team is working on this, we will keep you informed.
16+
> 🔧 The implementation is currently work-in-progress and still undergoing major changes. It'll be released here once it has stabilized.

hooks/teams-webhook/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ usecase: "Publishes Scan Summary to MS Teams."
1313

1414
Installing the Teams WebHook hook will add a ReadOnly Hook to your namespace.
1515

16-
The secureCodeBox core team is working on this, we will keep you informed.
16+
> 🔧 The implementation is currently work-in-progress and still undergoing major changes. It'll be released here once it has stabilized.

0 commit comments

Comments
 (0)