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

test: Credential-Service: Add integration tests for unauthorized scenario [DEV-3141] #364

Merged
merged 65 commits into from
Dec 20, 2023

Conversation

abdulla-ashurov
Copy link
Contributor

@abdulla-ashurov abdulla-ashurov commented Sep 4, 2023

  • Add positive integration tests for 6 APIs:
    • /did/search
    • /resource/search
    • /credential/verify
    • /credential-status/search
    • /credential-status/check
    • /presentation/verify (Added TODO comment)
  • Add negative integration tests for 6 APIs:
    • /did/search
    • /resource/search
    • /credential/verify
    • /credential-status/search
    • /credential-status/check
    • /presentation/verify (Added TODO comment)

@abdulla-ashurov abdulla-ashurov self-assigned this Sep 4, 2023
@ankurdotb
Copy link
Contributor

@abdulla-ashurov abdulla-ashurov marked this pull request as draft September 4, 2023 08:59
tests/constants.ts Outdated Show resolved Hide resolved
tests/credential-status/check.no-auth.spec.ts Outdated Show resolved Hide resolved
tests/credential-status/check.no-auth.spec.ts Outdated Show resolved Hide resolved
tests/credential-status/search.no-auth.spec.ts Outdated Show resolved Hide resolved
tests/credential-status/check.no-auth.spec.ts Outdated Show resolved Hide resolved
tests/credential-status/check.no-auth.spec.ts Outdated Show resolved Hide resolved
tests/constants.ts Outdated Show resolved Hide resolved
tests/credential/verify.no-auth.spec.ts Outdated Show resolved Hide resolved
tests/did/search.no-auth.spec.ts Outdated Show resolved Hide resolved
tests/presentation/verify.no-auth.spec.ts Outdated Show resolved Hide resolved
tests/resource/search.no-auth.spec.ts Outdated Show resolved Hide resolved
Copy link

gitguardian bot commented Dec 20, 2023

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id Secret Commit Filename
8882677 Generic High Entropy Secret a1eedab src/test/constants.ts View secret
8882677 Generic High Entropy Secret 9f66e67 src/test/constants.ts View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

@ankurdotb ankurdotb merged commit 307fd67 into develop Dec 20, 2023
14 checks passed
@ankurdotb ankurdotb deleted the DEV-3141 branch December 20, 2023 11:32
@cheqd-bot
Copy link

cheqd-bot bot commented Dec 20, 2023

🎉 This PR is included in version 2.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@cheqd-bot cheqd-bot bot added the released label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants