Skip to content

Commit d9cce81

Browse files
committed
Fix Kubernetes API Approach Workflow diagram rendering
- Removed redundant space class definition that may be affecting containment - Matched styling pattern of correctly working diagrams Signed-off-by: Aaron Lippold <[email protected]>
1 parent 664730e commit d9cce81

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/overview/mermaid-diagrams.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ flowchart TD
7171
subgraph step2["STEP 2: SCANNING EXECUTION"]
7272
direction TB
7373
run_cinc["Run CINC Auditor with k8s-container Transport"] --> process["Process with SAF CLI & Check Threshold"]
74-
process --> generate_reports["Generate Reports and Validations"] --> cleanup["Clean up RBAC & Service Account"]
74+
process --> generate_reports["Generate Reports and Validations"]
75+
generate_reports --> cleanup["Clean up RBAC & Service Account"]
7576
end
7677
7778
step2 --> complete([SCAN COMPLETE])
@@ -93,10 +94,6 @@ flowchart TD
9394
style process fill:#217645,stroke:#FFFFFF,stroke-width:2px,color:#FFFFFF
9495
style generate_reports fill:#4C366B,stroke:#FFFFFF,stroke-width:2px,color:#FFFFFF
9596
style cleanup fill:#505050,stroke:#FFFFFF,stroke-width:2px,color:#FFFFFF
96-
97-
%% Add more vertical space
98-
classDef space height:20px;
99-
class step1,step2 space;
10097
```
10198

10299
## Debug Container Approach Workflow
@@ -475,33 +472,36 @@ flowchart TD
475472
start([START]) --> principles
476473
477474
subgraph principles["SECURITY PRINCIPLES"]
475+
direction TB
478476
least_privilege["Principle of Least Privilege"] --> token["Short-lived Token Generation"]
479477
namespace["Namespace Isolation"] --> no_privileges["No Permanent Elevated Privileges"]
480478
end
481479
482480
principles --> controls
483481
484482
subgraph controls["IMPLEMENTATION CONTROLS"]
483+
direction TB
485484
rbac["Resource-specific RBAC Controls"] --> security_first["Security First Design"]
486485
audit["Audit Trail of Scan Access"] --> cleanup["Automatic Cleanup"]
487486
end
488487
489488
controls --> compliance
490489
491490
subgraph compliance["COMPLIANCE VALIDATION"]
491+
direction TB
492492
threshold["Threshold-based Validation with SAF CLI"]
493493
end
494494
495495
compliance --> complete([END])
496496
497497
%% WCAG-compliant styling
498-
style start fill:#0066CC,stroke:#FFFFFF,stroke-width:2px,color:#FFFFFF,font-weight:bold
499-
style complete fill:#0066CC,stroke:#FFFFFF,stroke-width:2px,color:#FFFFFF,font-weight:bold
498+
style start fill:#0066CC,stroke:#FFFFFF,stroke-width:2px,color:#FFFFFF
499+
style complete fill:#0066CC,stroke:#FFFFFF,stroke-width:2px,color:#FFFFFF
500500
501-
%% Section styling with WCAG-compliant colors
502-
style principles fill:none,stroke:#DD6100,stroke-width:4px,color:#FFFFFF,font-weight:bold
503-
style controls fill:none,stroke:#DD6100,stroke-width:4px,color:#FFFFFF,font-weight:bold
504-
style compliance fill:none,stroke:#DD6100,stroke-width:4px,color:#FFFFFF,font-weight:bold
501+
%% Section styling with WCAG-compliant colors - works in both light/dark
502+
style principles fill:none,stroke:#DD6100,stroke-width:4px
503+
style controls fill:none,stroke:#DD6100,stroke-width:4px
504+
style compliance fill:none,stroke:#DD6100,stroke-width:4px
505505
506506
%% Process styling
507507
style least_privilege fill:#505050,stroke:#FFFFFF,stroke-width:2px,color:#FFFFFF

0 commit comments

Comments
 (0)