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

CWE-20 - Code Security #632

Merged
merged 2 commits into from
Apr 9, 2024
Merged

CWE-20 - Code Security #632

merged 2 commits into from
Apr 9, 2024

Conversation

ross-p-smith
Copy link
Collaborator

Purpose

When checking for Blob Storage we should only check that the domain ends with blob storage domain rather than it just contains it based on Code Security CWE-20

How to Test

Tested by Unit Tests

Copy link

github-actions bot commented Apr 8, 2024

Coverage

Coverage Report •
FileStmtsMissCoverMissing
code/backend/batch/utilities/common
   SourceDocument.py58493%31, 35, 39, 124
TOTAL165395342% 

Tests Skipped Failures Errors Time
48 0 💤 0 ❌ 0 🔥 9.762s ⏱️

Copy link
Collaborator

@adamdougal adamdougal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ross-p-smith ross-p-smith added this pull request to the merge queue Apr 9, 2024
Merged via the queue into main with commit 428ffa8 Apr 9, 2024
5 checks passed
@ross-p-smith ross-p-smith deleted the ross/cwe-20 branch April 9, 2024 10:06
eduardogch pushed a commit to devopsdale/chat-with-your-data-solution-accelerator that referenced this pull request Apr 30, 2024
* Refactor SourceDocument class to handle SAS tokens for blob storage URLs

* Added tests to exercise the sas_placeholder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants