Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
b58cc9f
add devsecops_pipeline.py
meleksabit Aug 28, 2024
8c039b1
add devsecops-pipeline workflow
meleksabit Aug 29, 2024
6fe591f
Merge branch 'main' into dev
meleksabit Aug 29, 2024
d3e5daf
replace sonarqube with bandit
meleksabit Aug 29, 2024
bfc3f90
edit cron job
meleksabit Sep 5, 2024
80ec32c
add comment for the cron job
meleksabit Sep 8, 2024
4719684
Merge branch 'main' into dev
meleksabit Sep 8, 2024
b57b3ca
add Git Guardian workflow
meleksabit Sep 11, 2024
6f43c71
Merge branch 'main' into dev
meleksabit Sep 11, 2024
0e76968
edit Git Guardian workflow
meleksabit Sep 11, 2024
b96d528
edit Git Guardian workflow
meleksabit Sep 11, 2024
da6d3fd
edit Git Guardian workflow
meleksabit Sep 11, 2024
e436b3f
edit Git Guardian workflow
meleksabit Sep 11, 2024
caf63b1
edit Git Guardian workflow
meleksabit Sep 11, 2024
54081f3
edit Git Guardian workflow
meleksabit Sep 11, 2024
6a283a0
edit Git Guardian workflow
meleksabit Sep 11, 2024
1392fd1
edit Git Guardian workflow
meleksabit Sep 11, 2024
7b1f5a0
edit Git Guardian workflow
meleksabit Sep 11, 2024
b047d2f
edit README file
meleksabit Sep 14, 2024
846feeb
Merge branch 'main' into dev
meleksabit Sep 14, 2024
aa79a35
edit DevSecOps pipeline
meleksabit Sep 26, 2024
0bf5315
edit release badge
meleksabit Oct 7, 2024
76cf414
Merge branch 'main' into dev
meleksabit Oct 7, 2024
a297c87
add .gitignore file
meleksabit Oct 8, 2024
ed02de5
Merge branch 'main' into dev
meleksabit Oct 8, 2024
73401cd
add PR Title Linter
meleksabit Nov 17, 2024
819522f
Merge branch 'main' into dev
meleksabit Nov 17, 2024
e95ba0b
add status badge for PR Linter
meleksabit Nov 17, 2024
e612e23
Merge branch 'main' into dev
meleksabit Nov 17, 2024
0f06241
add SonarCloud implementation
meleksabit Nov 28, 2024
bfe67f2
edit sonar-project.properties
meleksabit Nov 28, 2024
240ddca
Merge branch 'main' into dev
meleksabit Nov 28, 2024
eadc76d
add SonarCloud badge
meleksabit Nov 28, 2024
144bce5
address suggestions from SonarCloud
meleksabit Nov 28, 2024
b062b91
Merge branch 'main' into dev
meleksabit Nov 28, 2024
d86fb9e
add secrets module in strong_passgen_for_prod.py
meleksabit Nov 28, 2024
fb607b9
edit strong_passgen_for_prod.py
meleksabit Nov 28, 2024
22ee82d
edit strong_passgen_for_prod.py
meleksabit Nov 28, 2024
e2f3b42
edit strong_passgen_for_prod.py
meleksabit Nov 28, 2024
74c22cd
edit strong_passgen_for_prod.py
meleksabit Nov 28, 2024
560bfae
edit strong_passgen_for_prod.py
meleksabit Nov 28, 2024
e4dead0
edit strong_passgen_for_prod.py
meleksabit Nov 29, 2024
4a27c24
edit strong_passgen_for_prod.py
meleksabit Nov 29, 2024
b6b5b70
edit strong_passgen_for_prod.py
meleksabit Nov 29, 2024
da0116d
edit crypto_passgen_for_prod.py script
meleksabit Nov 29, 2024
4b323cc
docs: add Sonar Cloud status badges
meleksabit Dec 17, 2024
ed33e74
Merge branch 'main' into dev
meleksabit Dec 17, 2024
4df6b37
docs: edit status badges
meleksabit Dec 17, 2024
00e107b
docs: edit status badges
meleksabit Dec 17, 2024
060f110
Merge branch 'main' into dev
meleksabit Dec 17, 2024
3469a27
edit gitignore
meleksabit Jan 21, 2025
8c125e9
Merge branch 'main' into dev
meleksabit Jan 21, 2025
2687600
edit README
meleksabit Jun 2, 2025
c83920b
Merge branch 'main' into dev
meleksabit Jun 2, 2025
468194b
update version of CodeQL Action (#60)
meleksabit Apr 5, 2026
9ba55ed
Update codeql (#62)
meleksabit Apr 5, 2026
6a8e9d7
Merge branch 'main' into dev
meleksabit Apr 5, 2026
f821f19
fix: Update sonarscan (#64)
meleksabit May 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/bandit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Bandit Scan
uses: shundor/python-bandit-scan@9cc5aa4a006482b8a7f91134412df6772dbda22c
with: # optional arguments
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ jobs:
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4.35.1
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand Down Expand Up @@ -87,6 +87,6 @@ jobs:
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4.35.1
with:
category: "/language:${{matrix.language}}"
8 changes: 4 additions & 4 deletions .github/workflows/devsecops-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.x'

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install bandit safety truffleHog pylint
python -m pip install pip==26.1.1
pip install --require-hashes --only-binary :all: -r requirements.txt

- name: Run DevSecOps Pipeline
run: python devsecops_pipeline.py
4 changes: 2 additions & 2 deletions .github/workflows/gitguardian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
fetch-depth: 0 # fetch all history so multiple commits can be scanned
- name: GitGuardian scan
uses: GitGuardian/ggshield/actions/secret@v1.31.0
uses: GitGuardian/ggshield/actions/secret@887cfae8f31533a243e53f14cbec78781b67c4a6
env:
GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }}
GITHUB_PUSH_BASE_SHA: ${{ github.event.base }}
Expand Down
30 changes: 21 additions & 9 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Default deny permissions at workflow level
permissions: {}

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
Expand All @@ -24,28 +21,43 @@ concurrency:
jobs:
# Build job
build:
permissions:
contents: read
pages: write
id-token: write

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Setup Pages
uses: actions/configure-pages@v5
uses: actions/configure-pages@v6

- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v5

# Deployment job
deploy:
permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
needs: build

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
2 changes: 1 addition & 1 deletion .github/workflows/pr-title-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Check PR Title
uses: actions/github-script@v7.0.1
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,17 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Set up JDK 17
uses: actions/setup-java@v4
- name: Set up JDK 25

uses: actions/setup-java@v5.2.0
with:
java-version: '17'
java-version: '25'
distribution: 'temurin'
java-package: 'jdk'

- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@v3 # Ex: v2.1.0, See the latest version at https://github.com/marketplace/actions/sonarcloud-scan
- name: Sonar Scan
uses: sonarsource/sonarqube-scan-action@59db25f34e16620e48ab4bb9e4a5dce155cb5432
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4 changes: 4 additions & 0 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bandit
safety
trufflehog
pylint
Loading
Loading