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
CloudGuard-Training May 21, 2024
adae473
change message
CloudGuard-Training Jun 25, 2024
fd1fe5b
change message
CloudGuard-Training 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
CloudGuard-Training Jun 25, 2024
7715a4e
Merge branch 'main' of https://github.com/getin2cloudnow/aws-elastic-…
CloudGuard-Training Jun 25, 2024
9bee4ac
added new content
CloudGuard-Training Jun 25, 2024
426f36b
new line of code
CloudGuard-Training Jun 25, 2024
2ea8ef5
ok
CloudGuard-Training Jun 25, 2024
37edfa4
change message
CloudGuard-Training Jun 26, 2024
b07a86c
change message
CloudGuard-Training Jun 26, 2024
49d9710
approved
CloudGuard-Training Jun 27, 2024
897be7c
new changes
CloudGuard-Training Jun 27, 2024
a0dfd95
agreed
CloudGuard-Training Jun 27, 2024
23f0927
ok
CloudGuard-Training Jun 27, 2024
5ffa6ad
Update buildspec.yml
getin2cloudnow Jun 27, 2024
e04b20e
ete
CloudGuard-Training Jun 27, 2024
2ada726
Update buildspec.yml
getin2cloudnow Jun 27, 2024
f2507e8
Merge branch 'main' of https://github.com/getin2cloudnow/aws-elastic-…
CloudGuard-Training 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
CloudGuard-Training Jun 27, 2024
bfe9562
Merge branch 'main' of https://github.com/getin2cloudnow/aws-elastic-…
CloudGuard-Training Jun 27, 2024
f7f0805
yes!
CloudGuard-Training Jun 27, 2024
d25e931
ysy
CloudGuard-Training Jun 27, 2024
8f431cb
yes
CloudGuard-Training Jun 27, 2024
8a700db
yes
CloudGuard-Training Jun 27, 2024
1f83022
ok
CloudGuard-Training Jun 27, 2024
c820b89
ye
CloudGuard-Training Jun 27, 2024
a77b721
ed
CloudGuard-Training Jun 27, 2024
6817830
ere
CloudGuard-Training Jun 27, 2024
f8ad712
sdfg
CloudGuard-Training Jun 27, 2024
cbd35e0
asdf
CloudGuard-Training Jun 27, 2024
2e52234
asdf
CloudGuard-Training Jun 27, 2024
c3b792e
sdfg
CloudGuard-Training Jun 27, 2024
5109c25
gfhzsfdg
CloudGuard-Training Jun 27, 2024
505c99a
asdf
CloudGuard-Training Jun 27, 2024
cc0c14c
asdf
CloudGuard-Training Jun 27, 2024
ed12f88
adsf
CloudGuard-Training Jun 27, 2024
4a377ef
fdsg
CloudGuard-Training Jun 27, 2024
05eb5c7
asdf
CloudGuard-Training Jun 27, 2024
72b0823
asdfasdf
CloudGuard-Training Jun 27, 2024
9ca168e
ghkuj
CloudGuard-Training Jun 27, 2024
fe53aa1
uyes!!
CloudGuard-Training Jun 28, 2024
2230d3b
eter
CloudGuard-Training Jun 28, 2024
f784eeb
asf
CloudGuard-Training Jun 28, 2024
7cfdeb5
asdf
CloudGuard-Training Jun 28, 2024
fb34ebd
asdf
CloudGuard-Training Jun 28, 2024
842c3bd
asdfasdfs
CloudGuard-Training Jun 28, 2024
5a2c5d1
asdf
CloudGuard-Training Jun 28, 2024
1512252
asdf
CloudGuard-Training Jun 28, 2024
2955a50
asdf
CloudGuard-Training Jun 28, 2024
5b74eaa
asdf
CloudGuard-Training Jun 28, 2024
0488cb6
adsf
CloudGuard-Training Jun 30, 2024
8ab4f14
Created new branch and updated the app.js
CloudGuard-Training Jun 30, 2024
08f570a
changing the website app.js with Firewall R80
CloudGuard-Training Jun 30, 2024
1aafabd
change the branch in pipeline
CloudGuard-Training Jun 30, 2024
28c12c8
yessad
CloudGuard-Training Jun 30, 2024
46eb5f7
another commit addiing the new branch in pipeline
CloudGuard-Training Jun 30, 2024
c19c9f0
change to Code Security
CloudGuard-Training Jun 30, 2024
9394867
added spectral open source
CloudGuard-Training Jun 30, 2024
4e17fad
back to classroom status
CloudGuard-Training Jul 1, 2024
21581e3
changed the env key
CloudGuard-Training Jul 1, 2024
90337f6
changes in Secret key definition
CloudGuard-Training Jul 1, 2024
4c700ad
test with new permissoin policy in the secret manager for my user arn
CloudGuard-Training Jul 1, 2024
37021c1
changed the policy using chatgpt
CloudGuard-Training Jul 1, 2024
af39d64
the permissoin should have been in my service role
CloudGuard-Training Jul 1, 2024
efc89a0
removed secret
CloudGuard-Training 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://[email protected]