Skip to content

Commit

Permalink
Adding fingerprinting
Browse files Browse the repository at this point in the history
  • Loading branch information
kadraman committed Jun 27, 2024
1 parent e810874 commit ad36ed2
Show file tree
Hide file tree
Showing 9 changed files with 11,312 additions and 9,906 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/debricked.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ jobs:
- name: Run debricked scan
shell: bash
run: |
debricked fingerprint libs
# we are excluding Gradle and using Maven so we can callgraph works
debricked scan --callgraph -r "${DEFAULT_APP_NAME}" --access-token="${DEBRICKED_TOKEN}" -e "**/build.gradle" -e "**/node_modules/**" -e "**/*.json" -e "*/**.lock" -e "**/build/classes/test/**" -e "**/target/classes/test-classes/**" .
debricked scan --callgraph -r "${DEFAULT_APP_NAME}" --access-token="${DEBRICKED_TOKEN}" -e "**/build.gradle" -e "**/node_modules/**" -e "*/**.lock" -e "**/build/classes/test/**" -e "**/target/classes/test-classes/**" .
env:
APP_NAME: ${{ env.DEFAULT_APP_NAME }}
DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -384,3 +384,4 @@ maven.debricked.lock
.env
fortify-sca.settings
.dockerignore
debricked.fingerprints.txt
21 changes: 20 additions & 1 deletion frontend/index.html
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
<!doctype html><html lang="en" class="h-100"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"/><link rel="stylesheet" href="https://cdn.auth0.com/js/auth0-samples-theme/1.0/css/auth0-theme.min.css"/><title>Calling an API</title><script defer="defer" src="/static/js/main.84e18f96.js"></script><link href="/static/css/main.e79340e1.css" rel="stylesheet"></head><body class="h-100"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root" class="h-100"></div></body></html>
<!DOCTYPE html>
<html lang="en" class="h-100">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no" />
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="/manifest.json" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.auth0.com/js/auth0-samples-theme/1.0/css/auth0-theme.min.css" />
<title>Calling an API</title>
<script defer="defer" src="/static/js/main.84e18f96.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js"></script>
<link href="/static/css/main.e79340e1.css" rel="stylesheet" />
</head>
<body class="h-100">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root" class="h-100"></div>
</body>
</html>
28 changes: 25 additions & 3 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/lodash": "^4.17.5",
"lodash": "^4.17.20",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-scripts": "5.0.1",
Expand Down
Loading

0 comments on commit ad36ed2

Please sign in to comment.