You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a87320e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+72-34Lines changed: 72 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,22 +58,55 @@ In case you would like to perform a DevSecOps assessment, the following tools ar
58
58
## Container
59
59
60
60
1. Install [Docker](https://www.docker.com)
61
-
2. Run `docker pull wurstbrot/dsomm:latest && docker run --rm -p 8080:8080 wurstbrot/dsomm:latest`
61
+
2. Run
62
+
```bash
63
+
docker pull wurstbrot/dsomm:latest && docker run --rm -p 8080:8080 wurstbrot/dsomm:latest
64
+
```
62
65
3. Browse to <http://localhost:8080> (on macOS and Windows browse to <http://192.168.99.100:8080> if you are using docker-machine instead
63
66
of the native docker installation)
64
67
65
-
For customized DSOMM, take a look at https://github.com/wurstbrot/DevSecOps-MaturityModel-custom.
68
+
For customized DSOMM, take a look at https://github.com/wurstbrot/DevSecOps-MaturityModel-custom.
66
69
67
-
You can download your current state from the circular heatmap and mount it again via
70
+
### Use the latest model data
68
71
69
72
```bash
70
-
wget https://raw.githubusercontent.com/devsecopsmaturitymodel/DevSecOps-MaturityModel-data/main/src/assets/YAML/generated/generated.yaml# or go to /circular-heatmap and download edited yaml (bottom right)
71
-
docker run -p 8080:8080 -v /tmp/generated.yaml:/srv/assets/YAML/generated/generated.yaml wurstbrot/dsomm:latest
The `generated.yaml` file is dynamically created during the build process. If you don’t see this file after setup, follow these steps to generate it:
129
+
## Generating the `model.yaml` file
99
130
100
-
**1. Clone the Required Repository:**
101
-
The `generated.yaml` file is built via the DevSecOps-MaturityModel-data repository. Make sure you have cloned and set it up correctly.
131
+
The `model.yaml` file is dynamically created during the build process. If you don’t see this file after setup, follow these steps to generate it:
102
132
103
-
**2. Run the Build Command:**
104
-
Navigate to the project directory and run the following command:
105
-
-*Using npm:*
133
+
1.**Clone the Required Repository:**
134
+
The `model.yaml` file is built via the [DevSecOps-MaturityModel-data repository](https://github.com/devsecopsmaturitymodel/DevSecOps-MaturityModel-data). Make sure you have cloned and set it up correctly.
106
135
107
-
```sh
108
-
npm run build
109
-
````
110
-
111
-
- *Using yarn:*
112
-
113
-
```sh
114
-
yarn build
115
-
```
136
+
2.**Run the Build Command:**
137
+
Navigate to the project directory and run the following command:
138
+
- Using `npm`:
139
+
```bash
140
+
npm run build
141
+
```
142
+
- Using `yarn`:
143
+
```bash
144
+
yarn build
145
+
```
116
146
117
147
*If the file is missing, ensure all dependencies are installed and that you have the correct access to the `DevSecOps-MaturityModel-data` repository.*
118
148
119
149
## Activity Definitions
120
150
The definition of the activities are in the [data-repository](https://github.com/devsecopsmaturitymodel/DevSecOps-MaturityModel-data).
121
151
122
152
## Teams and Groups
123
-
To customize these teams, you can create your own [meta.yaml](src/assets/YAML/meta.yaml) file with your unique team definitions.
153
+
154
+
To customize these teams, you can create your own [meta.yaml](src/assets/YAML/meta.yaml) file with your unique team definitions.
124
155
125
156
Assessments within the framework can be based on either a team or a specific application, which can be referred to as the context. Depending on how you define the context or teams, you may want to group them together.
126
157
@@ -129,21 +160,27 @@ Here are a couple of examples to illustrate this, in breakers the DSOMM word:
129
160
- Multiple teams (teams) can belong to a larger department (group).
130
161
131
162
Feel free to create your own [meta.yaml](src/assets/YAML/meta.yaml) file to tailor the framework to your specific needs and mount it in your environment (e.g. kubernetes or docker).
163
+
132
164
Here is an example to start docker with customized meta.yaml:
133
-
```
165
+
166
+
```bash
134
167
# Customized meta.yaml
135
168
cp src/assets/YAML/meta.yaml .
136
-
docker run -v $(pwd)/meta.yaml:/srv/assets/YAML/meta.yaml -p 8080:8080 wurstbrot/dsomm
169
+
docker run -v "$PWD/meta.yaml:/srv/assets/YAML/meta.yaml" -p 8080:8080 wurstbrot/dsomm
0 commit comments