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

Add access_count incrementor to DraftRetrieveApi #294

Merged
merged 5 commits into from
Apr 4, 2024

Conversation

HadleyKing
Copy link
Collaborator

Changes to be committed:
modified: biocompute/apis.py
modified: biocompute/services.py
modified: prefix/services.py

HadleyKing and others added 5 commits April 3, 2024 09:25
To do this functions related to Prefixes and the associated permissions were created

Changes to be committed:
	modified:   biocompute/apis.py
	modified:   biocompute/models.py
	modified:   biocompute/selectors.py
	modified:   biocompute/services.py
	modified:   biocompute/urls.py
	modified:   config/asgi.py
	modified:   config/fixtures/local_data.json
	modified:   config/services.py
	modified:   config/urls.py
	modified:   prefix/selectors.py
	modified:   prefix/services.py
	deleted:    test.json
	modified:   tests/fixtures/example_bco.py
	modified:   tests/fixtures/test_data.json
	deleted:    token.json
Created subdirectory and moved test functions
Changes to be committed:
	renamed:    tests/test_views/__init__.py -> tests/test_apis/__init__.py
	new file:   tests/test_apis/test_api_authentication/__init__.py
	renamed:    tests/test_views/test_account_activate.py -> tests/test_apis/test_api_authentication/test_account_activate.py
	renamed:    tests/test_views/test_account_describe.py -> tests/test_apis/test_api_authentication/test_account_describe.py
	renamed:    tests/test_views/test_account_new.py -> tests/test_apis/test_api_authentication/test_account_new.py
	renamed:    tests/test_views/test_api_auth_add.py -> tests/test_apis/test_api_authentication/test_api_auth_add.py
	renamed:    tests/test_views/test_api_auth_remove.py -> tests/test_apis/test_api_authentication/test_api_auth_remove.py
	renamed:    tests/test_views/test_api_auth_reset_token.py -> tests/test_apis/test_api_authentication/test_api_auth_reset_token.py
	renamed:    tests/test_views/test_api_objects_drafts_create.py -> tests/test_apis/test_api_objects_drafts_create.py
	renamed:    tests/test_views/test_auth_add.py -> tests/test_apis/test_auth_add.py
	renamed:    tests/test_views/test_auth_remove.py -> tests/test_apis/test_auth_remove.py
	renamed:    tests/test_views/test_auth_reset_token.py -> tests/test_apis/test_auth_reset_token.py
	renamed:    tests/test_views/test_objects_drafts_create.py -> tests/test_apis/test_objects_drafts_create.py
	renamed:    tests/test_views/test_prefixes_create.py -> tests/test_apis/test_prefixes_create.py
	new file:   tests/test_apis/test_prefixes_modify.py
	deleted:    tests/test_views/test_api_account_activate.py
	deleted:    tests/test_views/test_api_account_describe.py
	deleted:    tests/test_views/test_api_account_new.py
	deleted:    tests/test_views/test_prefixes_modify.py
Changes to be committed:
	modified:   biocompute/migrations/0001_initial.py
	modified:   docs/refactor.md
	modified:   prefix/apis.py
	modified:   prefix/migrations/0001_initial.py
	modified:   prefix/services.py
	new file:   tests/fixtures/bco_dump.json
	modified:   tests/fixtures/test_data.json
	deleted:    tests/test_apis/test_api_authentication/test_api_auth_add.py
	deleted:    tests/test_apis/test_api_authentication/test_api_auth_reset_token.py
	renamed:    tests/test_apis/test_auth_add.py -> tests/test_apis/test_api_authentication/test_auth_add.py
	renamed:    tests/test_apis/test_auth_reset_token.py -> tests/test_apis/test_api_authentication/test_auth_reset_token.py
	renamed:    tests/test_apis/test_api_authentication/test_api_auth_remove.py -> tests/test_apis/test_api_authentication/testi_auth_remove.py
	deleted:    tests/test_apis/test_api_objects_drafts_create.py
	new file:   tests/test_apis/test_api_prefix/__init__.py
	renamed:    tests/test_apis/test_prefixes_create.py -> tests/test_apis/test_api_prefix/test_prefixes_create.py
	renamed:    tests/test_apis/test_prefixes_modify.py -> tests/test_apis/test_api_prefix/test_prefixes_modify.py
	deleted:    tests/test_apis/test_auth_remove.py
	new file:   tests/test_apis/test_biocompute/__init__.py
	renamed:    tests/test_apis/test_objects_drafts_create.py -> tests/test_apis/test_biocompute/test_objects_drafts_create.py
Changes to be committed:
	modified:   biocompute/apis.py
	modified:   biocompute/services.py
	modified:   prefix/services.py
Copy link

gitguardian bot commented Apr 4, 2024

⚠️ GitGuardian has uncovered 1 secret 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 secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
10002004 Triggered Generic Password 30ba550 test.json 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!

@HadleyKing HadleyKing merged commit 4ffe7cb into model_refactor Apr 4, 2024
0 of 2 checks passed
@HadleyKing HadleyKing deleted the bco_perms branch April 4, 2024 00:23
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.

1 participant