Skip to content

Commit c10f34f

Browse files
committed
edited main file
1 parent 6767ad0 commit c10f34f

14 files changed

Lines changed: 14171 additions & 10 deletions

File tree

.github/workflows/devsecops-pipeline.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
DOCKER_IMAGE_TAG: ${{ github.sha }}
1414

1515
jobs:
16-
# Stage 1 & 2: Code Checkout and Dependency Installation
16+
# Stage 1: Code Checkout and Dependency Installation
1717
build-and-test:
1818
name: Build and Unit Tests
1919
runs-on: ubuntu-latest
@@ -44,7 +44,7 @@ jobs:
4444
name: test-results
4545
path: test-results.xml
4646

47-
# Stage 4: Code Coverage
47+
# Stage 2: Code Coverage
4848
code-coverage:
4949
name: Code Coverage Analysis
5050
runs-on: ubuntu-latest
@@ -76,7 +76,7 @@ jobs:
7676
coverage/
7777
.nyc_output/
7878
79-
# Stage 5: SAST - Static Application Security Testing
79+
# Stage 3: SAST - Static Application Security Testing
8080
sast-semgrep:
8181
name: SAST - Semgrep
8282
runs-on: ubuntu-latest
@@ -123,7 +123,7 @@ jobs:
123123
semgrep-results.sarif
124124
semgrep-results.txt
125125
126-
# Stage 6: Dependency Scanning
126+
# Stage 4: Dependency Scanning
127127
dependency-scan:
128128
name: Dependency Scanning - Snyk
129129
runs-on: ubuntu-latest
@@ -178,7 +178,7 @@ jobs:
178178
name: npm-audit-results
179179
path: npm-audit-results.json
180180

181-
# Stage 7: Secret Detection
181+
# Stage 5: Secret Detection
182182
secret-scan:
183183
name: Secret Detection - TruffleHog
184184
runs-on: ubuntu-latest
@@ -198,7 +198,7 @@ jobs:
198198
head: ${{ github.sha }}
199199
extra_args: --only-verified
200200

201-
# Stage 8: Docker Build and Push
201+
# Stage 6: Docker Build and Push
202202
docker-build:
203203
name: Docker Build and Push
204204
runs-on: ubuntu-latest
@@ -249,7 +249,7 @@ jobs:
249249
echo "FULL_IMAGE_NAME=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}-${{ github.sha }}" >> $GITHUB_ENV
250250
echo "Image pushed: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}-${{ github.sha }}"
251251
252-
# Stage 9: Container Scanning
252+
# Stage 7: Container Scanning
253253
container-scan:
254254
name: Container Scanning - Trivy
255255
runs-on: ubuntu-latest
@@ -306,7 +306,7 @@ jobs:
306306
trivy-results.json
307307
trivy-results.html
308308
309-
# Stage 10: DAST - Dynamic Application Security Testing
309+
# Stage 8: DAST - Dynamic Application Security Testing
310310
dast-zap:
311311
name: DAST - OWASP ZAP
312312
runs-on: ubuntu-latest
@@ -360,7 +360,7 @@ jobs:
360360
if: always()
361361
run: docker stop solar-system-app && docker rm solar-system-app
362362

363-
# Stage 11: Deploy Infrastructure and Application to Azure
363+
# Stage 9: Deploy Infrastructure and Application to Azure
364364
deploy-azure:
365365
name: Deploy to Azure Web App
366366
runs-on: ubuntu-latest

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
padding: 20px;" placeholder="Enter a number(0 - 8) to view the planets"/>
8989
</div>
9090
<div class="middle">
91-
<h1 style="color:rgb(247, 145, 95); font-family: 'Encode Sans';" id="planetName"> Solar System </h1>
91+
<h1 style="color:yellow; font-family: 'Encode Sans';" id="planetName"> Solar Test </h1>
9292
</div>
9393
<div class="bottomleft">
9494
<p style="color:rgb(224, 224, 224); font-family: 'Ubuntu';" id="planetDescription"> Solar system consists of our star, the Sun, and everything bound to it by gravity – <br> the planets Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, and Neptune; <br> dwarf planets such as Pluto; dozens of moons; and millions <br> of asteroids, comets, and meteoroids.</p>

0 commit comments

Comments
 (0)