This repository was archived by the owner on Sep 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Migrate Architecture Doc into Official Arc42 Template #235
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
da93812
Remove empty doc files
Weltraumschaf 8d56d09
Move initial introduction to index
Weltraumschaf 64af0ff
Add Arc42 template as base for the architecture doc
Weltraumschaf 40a81a1
Move introduction & goals into appropriate section in the Arc42 template
Weltraumschaf 4f690a8
Remove epty architecture constraint part from index page
Weltraumschaf ad951d9
Move system scope & context to appropriate file from Arc42 template
Weltraumschaf dd57dc7
Remove empty solution strategy part
Weltraumschaf 58e82d5
Move quality requirements into appropriate file from Arc42 template
Weltraumschaf 128f70f
Move building block view into appropriate file from Arc42 template
Weltraumschaf 06780d3
Move the ADRs below the architecture decission chapter
Weltraumschaf b8b114a
Add todo tags for further architecture doc
Weltraumschaf c8d11ea
Fix Markdown table formatting
Weltraumschaf 8ff0069
Move architecture image dir into docs folder
Weltraumschaf 94102b9
Fix typos suggested by IDE
Weltraumschaf c360b47
Extract external URL
Weltraumschaf a9ad53f
Add some hints about architecture doc in readme
Weltraumschaf ba395d6
Rename architecture images to match kebab-case style
Weltraumschaf a639ea9
Add Kubernetes diagram to runtime view
Weltraumschaf 70c3abc
Use emphasis to markup names which are a conceptual name
Weltraumschaf b0fe876
Add emphasizes to product name
Weltraumschaf 7d3b5f0
Add glossary for some wording
Weltraumschaf 01a1333
Add notes for empty template files
Weltraumschaf 2eee541
Add deployment view diagrams
Weltraumschaf aa2e15a
Introduce cross-cutting concepts and add further todo
Weltraumschaf 30a89f2
Change deployment view diagram names to kebab-case
Weltraumschaf 2658241
Update docs/architecture/13_glossary.md
Weltraumschaf d28fe62
Update docs/architecture/13_glossary.md
Weltraumschaf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| --- | ||
| # SPDX-FileCopyrightText: the secureCodeBox authors | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| title: "Architecture Constraints" | ||
| sidebar_label: "Architecture Constraints" | ||
| sidebar_position: 2 | ||
| --- | ||
| # Architecture Constraints {#section-architecture-constraints} | ||
|
|
||
| :::note | ||
| Not documented yet. | ||
| ::: | ||
|
|
||
| <!-- TODO #41: Here we could write about the constraint that we run only on K8s. --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| --- | ||
| # SPDX-FileCopyrightText: the secureCodeBox authors | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| title: "System Scope and Context" | ||
| sidebar_label: "System Scope and Context" | ||
| sidebar_position: 3 | ||
| --- | ||
| # System Scope and Context {#section-system-scope-and-context} | ||
|
|
||
| SCB is an orchestration platform managing scan jobs and parsing results. The aim of this project is to make automated vulnerability scanning easy and efficient. The diagrams below, illustrate the external factors and the context in which SCB is used. | ||
|
|
||
| SCB only manages the scan tasks. The scanning functionality itself is considered out of scope and for this, third-party software is used. | ||
|
|
||
| ## Business Context {#_business_context} | ||
|
|
||
|  | ||
|
|
||
| <!-- **optionally: Explanation of external domain interfaces** --> | ||
|
|
||
| ## Technical Context {#_technical_context} | ||
|
|
||
|  | ||
|
|
||
| <!-- **optionally: Explanation of technical interfaces** --> | ||
|
|
||
| <!-- **Mapping Input/Output to Channels** --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| --- | ||
| # SPDX-FileCopyrightText: the secureCodeBox authors | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| title: "Solution Strategy" | ||
| sidebar_label: "Solution Strategy" | ||
| sidebar_position: 4 | ||
| --- | ||
| # Solution Strategy {#section-solution-strategy} | ||
|
|
||
| :::note | ||
| Not defined yet. | ||
| ::: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,90 @@ | ||
| --- | ||
| # SPDX-FileCopyrightText: the secureCodeBox authors | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| title: "Building Block View " | ||
| sidebar_label: "Building Block View " | ||
| sidebar_position: 5 | ||
| --- | ||
| # Building Block View {#section-building-block-view} | ||
|
|
||
| Below, an overview is given of the global design/architecture of secureCodeBox. This document is inspired by the [C4][C4] model for visualizing software architecture. Conform this model, this document is split in 4 parts (i.e. levels). First, a _context_ level overview, displaying the context in which the application is used. The second level, _containers_, broadly describes the different data streams. The third level consists of a _components_ overview, describing the different components and the interactions between them. The fourth and final level contains a _code_ overview. Which will consist of class- and database-diagrams. | ||
|
|
||
| ## Whitebox Overall System {#_whitebox_overall_system} | ||
Weltraumschaf marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ***Overview Diagram*** | ||
|
|
||
|  | ||
|
|
||
| Motivation | ||
|
|
||
| : *text explanation* | ||
|
|
||
| Contained Building Blocks | ||
|
|
||
| : *Description of contained building block (black boxes)* | ||
|
|
||
| Important Interfaces | ||
|
|
||
| : *Description of important interfaces* | ||
|
|
||
| ### Name black box 1 {#__name_black_box_1} | ||
|
|
||
| *Purpose/Responsibility* | ||
|
|
||
| *Interface(s)* | ||
|
|
||
| *(Optional) Quality/Performance Characteristics* | ||
|
|
||
| *(Optional) Directory/File Location* | ||
|
|
||
| *(Optional) Fulfilled Requirements* | ||
|
|
||
| *(optional) Open Issues/Problems/Risks* | ||
|
|
||
| ### Name black box 2 {#__name_black_box_2} | ||
|
|
||
| *black box template* | ||
|
|
||
| ### Name black box n {#__name_black_box_n} | ||
|
|
||
| *black box template* | ||
|
|
||
| ### Name interface 1 {#__name_interface_1} | ||
|
|
||
| ... | ||
|
|
||
| ### Name interface m {#__name_interface_m} | ||
|
|
||
| ## Level 2 {#_level_2} | ||
|
|
||
| ### White Box *building block 1* {#_white_box_emphasis_building_block_1_emphasis} | ||
|
|
||
| *white box template* | ||
|
|
||
| ### White Box *building block 2* {#_white_box_emphasis_building_block_2_emphasis} | ||
|
|
||
| *white box template* | ||
|
|
||
| ... | ||
|
|
||
| ### White Box *building block m* {#_white_box_emphasis_building_block_m_emphasis} | ||
|
|
||
| *white box template* | ||
|
|
||
| ## Level 3 {#_level_3} | ||
|
|
||
| ### White Box _building block x.1_ {#_white_box_building_block_x_1} | ||
|
|
||
| *white box template* | ||
|
|
||
| ### White Box _building block x.2_ {#_white_box_building_block_x_2} | ||
|
|
||
| *white box template* | ||
|
|
||
| ### White Box _building block y.1_ {#_white_box_building_block_y_1} | ||
|
|
||
| *white box template* | ||
|
|
||
| C4: https://c4model.com/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| --- | ||
| # SPDX-FileCopyrightText: the secureCodeBox authors | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| title: "Runtime View" | ||
| sidebar_label: "Runtime View" | ||
| sidebar_position: 6 | ||
| --- | ||
| # Runtime View {#section-runtime-view} | ||
|
|
||
| This section describes the runtime view of _secureCodeBox_. | ||
|
|
||
| ## Runtime Scenario 1 {#__runtime_scenario_1} | ||
|
|
||
|  | ||
Weltraumschaf marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| --- | ||
| # SPDX-FileCopyrightText: the secureCodeBox authors | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| title: "Deployment View" | ||
malexmave marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| sidebar_label: "Deployment View" | ||
| sidebar_position: 7 | ||
| --- | ||
| # Deployment View {#section-deployment-view} | ||
|
|
||
| This section describes the deployment of _secureCodeBox_. | ||
|
|
||
| ## Cluster Internal Central Scans {#_cluster_internal_central_scans} | ||
|
|
||
| Cluster internal security scans with one dedicated namespace. | ||
|
|
||
| ***Overview Diagram*** | ||
|
|
||
|  | ||
Weltraumschaf marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ### Motivation | ||
|
|
||
| The motivation behind this scenario is to have one central point to accumulate all findings of all scanned namespaces. Typically, this scenario is for a team which want to monitor a whole landscape of applications and services (e.g. a SOC team). | ||
|
|
||
| ## Cluster/Namespace Internal {#_cluster_namespace_internal} | ||
|
|
||
| Cluster internal security scans directly in the business service's namespace. | ||
|
|
||
| ### Motivation | ||
|
|
||
| The motivation behind this scenario is to provide each development team its own "instance" of _secureCodeBox_. The common parts like _operator_ is shared, but each team deploys its own _scans_ inside their namespace. Typically, you will use this scenario if you do not want to allow that a team can see the findings of other teams. | ||
|
|
||
| ***Overview Diagram*** | ||
|
|
||
|  | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,20 @@ | ||||||
| --- | ||||||
| # SPDX-FileCopyrightText: the secureCodeBox authors | ||||||
| # | ||||||
| # SPDX-License-Identifier: Apache-2.0 | ||||||
|
|
||||||
| title: "Cross-cutting Concepts" | ||||||
| sidebar_label: "Cross-cutting Concepts" | ||||||
| sidebar_position: 8 | ||||||
| --- | ||||||
| # Cross-cutting Concepts {#section-concepts} | ||||||
|
|
||||||
| This section describes the cross-cutting concepts of _secureCodeBox_. These are concepts which affect all components. Instead of concepts only affecting a single or some components. They are described here particularly because they are not easy exchangeable with something differently. In fact, they are strong coupled dependencies, and therefore must be chosen carefully. | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| ## Custom Resources {#_custom_resources} | ||||||
|
|
||||||
| :::note | ||||||
| Not documented yet. | ||||||
| ::: | ||||||
| <!-- TODO: https://github.com/secureCodeBox/documentation/issues/236 --> | ||||||
|
|
||||||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.