Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peterg #133

Open
wants to merge 88 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
684fdc5
change message
PeterGriekspoor May 21, 2024
adae473
change message
PeterGriekspoor Jun 25, 2024
fd1fe5b
change message
PeterGriekspoor Jun 25, 2024
8519dca
Create buildspec.yml
getin2cloudnow Jun 25, 2024
9c43aa5
Update buildspec.yml
getin2cloudnow Jun 25, 2024
7642796
Update buildspec.yml
getin2cloudnow Jun 25, 2024
d2d8129
Update buildspec.yml
getin2cloudnow Jun 25, 2024
45f3172
Update buildspec.yml
getin2cloudnow Jun 25, 2024
587a612
Update buildspec.yml
getin2cloudnow Jun 25, 2024
57864b0
Update buildspec.yml
getin2cloudnow Jun 25, 2024
2d0faf5
Update buildspec.yml
getin2cloudnow Jun 25, 2024
cf33461
Update buildspec.yml
getin2cloudnow Jun 25, 2024
7ac5f28
Update buildspec.yml
getin2cloudnow Jun 25, 2024
3e25df9
Update buildspec.yml
getin2cloudnow Jun 25, 2024
2297bb2
Update buildspec.yml
getin2cloudnow Jun 25, 2024
b7194c2
change message
PeterGriekspoor Jun 25, 2024
7715a4e
Merge branch 'main' of https://github.com/getin2cloudnow/aws-elastic-…
PeterGriekspoor Jun 25, 2024
9bee4ac
added new content
PeterGriekspoor Jun 25, 2024
426f36b
new line of code
PeterGriekspoor Jun 25, 2024
2ea8ef5
ok
PeterGriekspoor Jun 25, 2024
37edfa4
change message
PeterGriekspoor Jun 26, 2024
b07a86c
change message
PeterGriekspoor Jun 26, 2024
49d9710
approved
PeterGriekspoor Jun 27, 2024
897be7c
new changes
PeterGriekspoor Jun 27, 2024
a0dfd95
agreed
PeterGriekspoor Jun 27, 2024
23f0927
ok
PeterGriekspoor Jun 27, 2024
5ffa6ad
Update buildspec.yml
getin2cloudnow Jun 27, 2024
e04b20e
ete
PeterGriekspoor Jun 27, 2024
2ada726
Update buildspec.yml
getin2cloudnow Jun 27, 2024
f2507e8
Merge branch 'main' of https://github.com/getin2cloudnow/aws-elastic-…
PeterGriekspoor Jun 27, 2024
5a5c016
Update buildspec.yml
getin2cloudnow Jun 27, 2024
3e4e1dd
Update buildspec.yml
getin2cloudnow Jun 27, 2024
979aaf7
Update buildspec.yml
getin2cloudnow Jun 27, 2024
d52b076
Update buildspec.yml
getin2cloudnow Jun 27, 2024
d682df9
Update buildspec.yml
getin2cloudnow Jun 27, 2024
98fa6c4
Update buildspec.yml
getin2cloudnow Jun 27, 2024
a70f054
Update buildspec.yml
getin2cloudnow Jun 27, 2024
9b8ad6b
Update buildspec.yml
getin2cloudnow Jun 27, 2024
9e26d2d
Update buildspec.yml
getin2cloudnow Jun 27, 2024
21707a4
all modifications
PeterGriekspoor Jun 27, 2024
bfe9562
Merge branch 'main' of https://github.com/getin2cloudnow/aws-elastic-…
PeterGriekspoor Jun 27, 2024
f7f0805
yes!
PeterGriekspoor Jun 27, 2024
d25e931
ysy
PeterGriekspoor Jun 27, 2024
8f431cb
yes
PeterGriekspoor Jun 27, 2024
8a700db
yes
PeterGriekspoor Jun 27, 2024
1f83022
ok
PeterGriekspoor Jun 27, 2024
c820b89
ye
PeterGriekspoor Jun 27, 2024
a77b721
ed
PeterGriekspoor Jun 27, 2024
6817830
ere
PeterGriekspoor Jun 27, 2024
f8ad712
sdfg
PeterGriekspoor Jun 27, 2024
cbd35e0
asdf
PeterGriekspoor Jun 27, 2024
2e52234
asdf
PeterGriekspoor Jun 27, 2024
c3b792e
sdfg
PeterGriekspoor Jun 27, 2024
5109c25
gfhzsfdg
PeterGriekspoor Jun 27, 2024
505c99a
asdf
PeterGriekspoor Jun 27, 2024
cc0c14c
asdf
PeterGriekspoor Jun 27, 2024
ed12f88
adsf
PeterGriekspoor Jun 27, 2024
4a377ef
fdsg
PeterGriekspoor Jun 27, 2024
05eb5c7
asdf
PeterGriekspoor Jun 27, 2024
72b0823
asdfasdf
PeterGriekspoor Jun 27, 2024
9ca168e
ghkuj
PeterGriekspoor Jun 27, 2024
fe53aa1
uyes!!
PeterGriekspoor Jun 28, 2024
2230d3b
eter
PeterGriekspoor Jun 28, 2024
f784eeb
asf
PeterGriekspoor Jun 28, 2024
7cfdeb5
asdf
PeterGriekspoor Jun 28, 2024
fb34ebd
asdf
PeterGriekspoor Jun 28, 2024
842c3bd
asdfasdfs
PeterGriekspoor Jun 28, 2024
5a2c5d1
asdf
PeterGriekspoor Jun 28, 2024
1512252
asdf
PeterGriekspoor Jun 28, 2024
2955a50
asdf
PeterGriekspoor Jun 28, 2024
5b74eaa
asdf
PeterGriekspoor Jun 28, 2024
0488cb6
adsf
PeterGriekspoor Jun 30, 2024
8ab4f14
Created new branch and updated the app.js
PeterGriekspoor Jun 30, 2024
08f570a
changing the website app.js with Firewall R80
PeterGriekspoor Jun 30, 2024
1aafabd
change the branch in pipeline
PeterGriekspoor Jun 30, 2024
28c12c8
yessad
PeterGriekspoor Jun 30, 2024
46eb5f7
another commit addiing the new branch in pipeline
PeterGriekspoor Jun 30, 2024
c19c9f0
change to Code Security
PeterGriekspoor Jun 30, 2024
9394867
added spectral open source
PeterGriekspoor Jun 30, 2024
4e17fad
back to classroom status
PeterGriekspoor Jul 1, 2024
21581e3
changed the env key
PeterGriekspoor Jul 1, 2024
90337f6
changes in Secret key definition
PeterGriekspoor Jul 1, 2024
4c700ad
test with new permissoin policy in the secret manager for my user arn
PeterGriekspoor Jul 1, 2024
37021c1
changed the policy using chatgpt
PeterGriekspoor Jul 1, 2024
af39d64
the permissoin should have been in my service role
PeterGriekspoor Jul 1, 2024
efc89a0
removed secret
PeterGriekspoor Jul 1, 2024
2614db0
start of training web site release 1.0
getin2cloudnow Jul 2, 2024
7f1b445
made a mistake
getin2cloudnow Jul 2, 2024
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
3 changes: 1 addition & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const express = require('express');
const app = express();
const port = 8080;

app.get('/', (req, res) => res.send('Hello World!'));

app.get('/', (req, res) => res.send('Welcome to our new training class on Code Security :)'));
app.listen(port);
console.log(`App running on http://localhost:${port}`);
21 changes: 21 additions & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 0.2

#env:
# secrets-manager:
# SPECTRAL_DSN: aarn:aws:secretsmanager:us-west-2:236713641735:secret:SPECTRAL-PrZkpH:SPECTRAL_DSN

phases:
build:
commands:
- echo Building the project...
- npm i --save
post_build:
commands:
- curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh
- $HOME/.spectral/spectral scan --ok --include-tags base,audit
artifacts:
files:
- "**/*"
env:
variables:
SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com