-
Notifications
You must be signed in to change notification settings - Fork 0
Added integration and Mocked Tests for DoTs #28
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
Conversation
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 19680094 | Triggered | Username Password | 7e0d862 | tests/mocked/databases.test.ts | View secret |
| 9441802 | Triggered | Generic High Entropy Secret | 7e0d862 | tests/mocked/containerRegistry.test.ts | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- 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
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 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.
|
also, we can see few test cases are failing because of the Kiota's anyOf issue. link to document regarding the issue : Kiota's anyOf also, a github thread for this issue in this Link |
* Added TypeScript Linter for Dots * Added TyprScript Linter Workflow * Added TyprScript Linter Workflow * Added TyprScript Linter Workflow * Added TyprScript Linter Workflow * Added TyprScript Linter Workflow * Added TyprScript Linter Workflow * Made a prep branch ready to release * Made a prep branch ready to release * Made a prep branch ready to release * Made a prep branch ready to release * Made a prep branch ready to release * Made a prep branch ready to release * Update package.json * Update release.yml * Update Makefile * Update droplet.test.ts * Update billling.test.ts * bumpeversion and tag script changes * [bot] Updated client based on openapi-42e49ab/clientgen (#11) Co-authored-by: API Engineering <[email protected]> * version bump * Made few changes to make-file * Made few changes to make-file * Made few changes to make-file * prep-0-1-0_final chanegs * prep-0-1-0_final chanegs * prep-0-1-0_final chanegs * prep-0-1-0_final chanegs * Update README.md * Update README.md * Update README.md * Made Some Changes to Make file * [bot] Updated client based on openapi-5d99aef/clientgen (#12) Co-authored-by: API Engineering <[email protected]> * Update package.json * [bot] Updated client based on openapi-544ef64/clientgen (#13) Co-authored-by: API Engineering <[email protected]> Co-authored-by: mchittupolu <[email protected]> * Cleaning the Branch * Rebasing to prep_final (#14) (#15) * prep-0-1-0_final chanegs * prep-0-1-0_final chanegs * prep-0-1-0_final chanegs * prep-0-1-0_final chanegs * Update README.md * Update README.md * Update README.md * Made Some Changes to Make file * [bot] Updated client based on openapi-5d99aef/clientgen (#12) * Update package.json * [bot] Updated client based on openapi-544ef64/clientgen (#13) * Cleaning the Branch --------- Co-authored-by: digitalocean-engineering <[email protected]> Co-authored-by: API Engineering <[email protected]> * Added ReadTheDocs for TypeDoc * [bot] Updated client based on openapi-866c5bb/clientgen (#16) Co-authored-by: API Engineering <[email protected]> * Update .readthedocs.yaml * added sphinxconfig * Update .readthedocs.yaml * Update .readthedocs.yaml * Update .readthedocs.yaml * TypeDoc for readthedocs * TypeDoc for readthedocs * TypeDoc for readthedocs * TypeDoc for readthedocs * TypeDoc for readthedocs * TypeDoc for readthedocs * TypeDoc for readthedocs * TypeDoc for readthedocs * TypeDoc for readthedocs * TypeDoc for readthedocs * TypeDoc for readthedocs * TypeDoc for readthedocs * TypeDoc for readthedocs * TypeDoc for readthedocs * TypeDoc for readthedocs * Update README.md * Update README.md * Update README.md * Added few integration tests * Update README.md * Update .gitignore * Create contribution.md * Delete contribution.md * Create CONTRIBUTING.md * Update CONTRIBUTING.md * Update CONTRIBUTING.md * Update CONTRIBUTING.md * Added Contributing.md * Update README.md * made changes for make file * Update README.md * made changes for make file * [bot] Updated client based on openapi-fecaa57/clientgen (#18) Co-authored-by: API Engineering <[email protected]> * Cleaned Examples * Update README.md * Update CONTRIBUTING.md * Update README.md * Update CONTRIBUTING.md * Updated readMe * Added Apache 2.0 License (#21) * Added copyright * Bumped Patch Version * [bot] Updated client based on openapi-445b911/clientgen (#19) Co-authored-by: API Engineering <[email protected]> * [bot] Updated client based on openapi-7626d23/clientgen (#23) Co-authored-by: API Engineering <[email protected]> Co-authored-by: mchittupolu <[email protected]> * [bot] Updated client based on openapi-3a64316/clientgen (#24) Co-authored-by: API Engineering <[email protected]> Co-authored-by: mchittupolu <[email protected]> * [bot] Updated client based on openapi-3e0e5fa/clientgen (#25) Co-authored-by: API Engineering <[email protected]> Co-authored-by: mchittupolu <[email protected]> * [bot] remove UNSPECIFIED from partner attachment enum: Re-Generated From digitalocean/openapi@418af61 (#26) * [bot] Updated client based on openapi-418af61/clientgen * made docs changes --------- Co-authored-by: API Engineering <[email protected]> Co-authored-by: mchittupolu <[email protected]> Co-authored-by: Mahendra_Chittupolu <[email protected]> * generated docs * Made chnages in gitignore * Added integration and Mocked Tests (#28) * Commented snapShot and sshKeys code to skip errors * [bot] Updated client based on openapi-5c389af/clientgen (#29) Co-authored-by: API Engineering <[email protected]> * Updated code with SECREV Comments --------- Co-authored-by: mchittupolu <[email protected]> Co-authored-by: Mahendra_Chittupolu <[email protected]> Co-authored-by: digitalocean-engineering <[email protected]> Co-authored-by: API Engineering <[email protected]>
APICLI-3235
This PR includes the full testing implementation, including Mocked and integration tests
steps to test
npm run buildmock test-mockedmock test-integration file=droplet.test.ts(change droplet.test.ts depending the file we wanted to test)