Skip to content

Commit cf7c7c2

Browse files
authored
Merge branch 'main' into dev_363_edit_ser_res
2 parents 1e35c46 + 484860a commit cf7c7c2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+3193
-2023
lines changed

.dockerignore

Lines changed: 268 additions & 97 deletions
Large diffs are not rendered by default.

.env.example

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ TOKEN_EXPIRY=10080
100100
# Require all JWT tokens to have expiration claims (true or false)
101101
REQUIRE_TOKEN_EXPIRATION=false
102102

103+
103104
# Used to derive an AES encryption key for secure auth storage
104105
# Must be a non-empty string (e.g. passphrase or random secret)
105106
AUTH_ENCRYPTION_SECRET=my-test-salt
@@ -129,6 +130,10 @@ ALLOWED_ORIGINS='["http://localhost", "http://localhost:4444"]'
129130
# Enable CORS handling in the gateway
130131
CORS_ENABLED=true
131132

133+
# Enable HTTP Basic Auth for docs endpoints (in addition to Bearer token auth)
134+
# Uses the same credentials as BASIC_AUTH_USER and BASIC_AUTH_PASSWORD
135+
DOCS_ALLOW_BASIC_AUTH=false
136+
132137
#####################################
133138
# Retry Config for HTTP Requests
134139
#####################################
@@ -284,4 +289,4 @@ DEBUG=false
284289

285290
# Gateway tool name separator
286291
GATEWAY_TOOL_NAME_SEPARATOR=-
287-
VALID_SLUG_SEPARATOR_REGEXP= r"^(-{1,2}|[_.])$"
292+
VALID_SLUG_SEPARATOR_REGEXP= r"^(-{1,2}|[_.])$"

.github/workflows/snyk.yml.inactive

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
dependencies:
6161
name: 📦 Dependency Scan
6262
runs-on: ubuntu-latest
63-
63+
6464
steps:
6565
# -------------------------------------------------------------
6666
# 0️⃣ Checkout source
@@ -108,7 +108,7 @@ jobs:
108108
code-security:
109109
name: 🔐 Code Security (SAST)
110110
runs-on: ubuntu-latest
111-
111+
112112
steps:
113113
# -------------------------------------------------------------
114114
# 0️⃣ Checkout source
@@ -163,7 +163,7 @@ jobs:
163163
container-security:
164164
name: 🐳 Container Security
165165
runs-on: ubuntu-latest
166-
166+
167167
steps:
168168
# -------------------------------------------------------------
169169
# 0️⃣ Checkout source
@@ -223,7 +223,7 @@ jobs:
223223
iac-security:
224224
name: 🏗️ IaC Security
225225
runs-on: ubuntu-latest
226-
226+
227227
steps:
228228
# -------------------------------------------------------------
229229
# 0️⃣ Checkout source
@@ -253,7 +253,7 @@ jobs:
253253
--json-file-output="snyk-iac-${file%.y*ml}.json" || true
254254
fi
255255
done
256-
256+
257257
# Test Containerfiles
258258
for file in Containerfile*; do
259259
if [ -f "$file" ]; then
@@ -308,7 +308,7 @@ jobs:
308308
name: 📋 Generate SBOM
309309
runs-on: ubuntu-latest
310310
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
311-
311+
312312
steps:
313313
# -------------------------------------------------------------
314314
# 0️⃣ Checkout source
@@ -337,7 +337,7 @@ jobs:
337337
run: |
338338
# Get version from pyproject.toml
339339
VERSION=$(grep -m1 version pyproject.toml | cut -d'"' -f2 || echo "0.0.0")
340-
340+
341341
# Generate CycloneDX format
342342
snyk sbom \
343343
--format=cyclonedx1.5+json \
@@ -346,7 +346,7 @@ jobs:
346346
--version=$VERSION \
347347
--json-file-output=sbom-cyclonedx.json \
348348
. || true
349-
349+
350350
# Generate SPDX format
351351
snyk sbom \
352352
--format=spdx2.3+json \
@@ -376,7 +376,7 @@ jobs:
376376
runs-on: ubuntu-latest
377377
needs: [dependencies, code-security, container-security, iac-security]
378378
if: always()
379-
379+
380380
steps:
381381
# -------------------------------------------------------------
382382
# 0️⃣ Download all artifacts
@@ -397,16 +397,16 @@ jobs:
397397
echo "**Triggered by:** ${{ github.event_name }}" >> $GITHUB_STEP_SUMMARY
398398
echo "**Severity Threshold:** ${{ github.event.inputs.severity-threshold || 'high' }}" >> $GITHUB_STEP_SUMMARY
399399
echo "" >> $GITHUB_STEP_SUMMARY
400-
400+
401401
echo "## 📋 Scan Results" >> $GITHUB_STEP_SUMMARY
402402
echo "" >> $GITHUB_STEP_SUMMARY
403-
403+
404404
# List all result files
405405
echo "### 📁 Generated Reports:" >> $GITHUB_STEP_SUMMARY
406406
find snyk-results -type f -name "*.json" -o -name "*.sarif" | while read -r file; do
407407
echo "- \`$(basename "$file")\`" >> $GITHUB_STEP_SUMMARY
408408
done
409-
409+
410410
echo "" >> $GITHUB_STEP_SUMMARY
411411
echo "---" >> $GITHUB_STEP_SUMMARY
412-
echo "*View detailed results in the [Security tab](../../security/code-scanning) or download artifacts from this workflow run.*" >> $GITHUB_STEP_SUMMARY
412+
echo "*View detailed results in the [Security tab](../../security/code-scanning) or download artifacts from this workflow run.*" >> $GITHUB_STEP_SUMMARY

.markdownlint-cli2.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# .markdownlint-cli2.yaml
2+
# Configuration for markdownlint-cli2
3+
4+
# Ignore certain paths
5+
ignores:
6+
- "node_modules/**"
7+
- ".venv/**"
8+
- "venv/**"
9+
- "dist/**"
10+
- "build/**"
11+
- ".git/**"
12+
- "htmlcov/**"
13+
- "docs/coverage/**"
14+
- "site/**"
15+
- ".tox/**"
16+
- "*.min.md"
17+
18+
# markdownlint configuration
19+
config:
20+
# Enable all rules by default
21+
default: true
22+
23+
# MD003/heading-style - Heading style
24+
MD003:
25+
style: "atx" # Require ATX style (e.g., ## Heading)
26+
27+
# MD007/ul-indent - Unordered list indentation
28+
MD007:
29+
indent: 4 # Use 4 spaces for list indentation
30+
31+
# MD009/no-trailing-spaces - Trailing spaces
32+
MD009: true # Flag trailing spaces as errors (default behavior)
33+
34+
# MD010/no-hard-tabs - Hard tabs
35+
MD010: true # Flag hard tabs as errors (default behavior)
36+
37+
# MD013/line-length - Line length
38+
MD013: false # Disable line length rule completely
39+
40+
# Optional: Other commonly configured rules
41+
# MD024: false # Multiple headings with the same content
42+
# MD026: false # Trailing punctuation in heading
43+
# MD033: false # Inline HTML
44+
# MD041: false # First line in file should be a heading
45+
46+
# Show progress while linting
47+
showProgress: true
48+
49+
# Don't show banner (optional - set to true to suppress version info)
50+
# noBanner: false
51+
52+
# Fix errors automatically where possible (can be overridden with --fix CLI flag)
53+
# fix: false

.markdownlint.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ msg-template=
506506
#output-format=
507507

508508
# Tells whether to display a full report or only the messages.
509-
reports=yes
509+
reports=no
510510

511511
# Activate the evaluation score.
512512
score=yes

0 commit comments

Comments
 (0)