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

Barcodes ticket #56

Merged
merged 2 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 3 additions & 4 deletions .github/workflows/security-and-quality-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,11 @@ jobs:
done

- name: Run Gitleaks
uses: gitleaks/gitleaks-action@v2 # Use Gitleaks to scan for sensitive information
run: | # Use Gitleaks CLI directly for scanning sensitive data
echo "Running Gitleaks..."
gitleaks detect --source . --config-path .github/gitleaks.toml --verbose
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Set the GitHub token from secrets
with:
config-path: .github/gitleaks.toml # Specify the path to the Gitleaks config file
verbose: true # Enable verbose output for more details

- name: Upload Security Results
if: always() # Always run this step, regardless of previous failures
Expand Down
2 changes: 1 addition & 1 deletion backend/tests/manuallyTests/APITestK6LongTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function () {
const url = 'http://localhost:8081/accounts'; // Endpoint to test
const params = {
headers: {
'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY2YjkzMmVmNDVkNTExYWEzN2MwMjg4OSIsImVtYWlsIjoiYWRtaW5AZ21haWwuY29tIiwiaXNBZG1pbiI6dHJ1ZSwiaWF0IjoxNzMzMDU1ODcyLCJleHAiOjE3MzMwNTk0NzJ9.urZ7BNWEg0zTNAa2EGALcdgSQjfjdovitzciBciUbGI' // Bearer token for authorization
'Authorization': 'Bearer ...' // Bearer token for authorization
},
};

Expand Down
2 changes: 1 addition & 1 deletion backend/tests/manuallyTests/APITestK6test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function () {
const url = 'http://localhost:8081/accounts'; // Endpoint to test
const params = {
headers: {
'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY2YjkzMmVmNDVkNTExYWEzN2MwMjg4OSIsImVtYWlsIjoiYWRtaW5AZ21haWwuY29tIiwiaXNBZG1pbiI6dHJ1ZSwiaWF0IjoxNzMzMDU1ODcyLCJleHAiOjE3MzMwNTk0NzJ9.urZ7BNWEg0zTNAa2EGALcdgSQjfjdovitzciBciUbGI' // Bearer token for authorization
'Authorization': 'Bearer ...' // Bearer token for authorization
},
};

Expand Down