-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cspm #595
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Failed to generate code suggestions for PR |
@@ -138,6 +136,8 @@ class NotExistingCustomer(Exception): | |||
API_ACCOUNTS_CLOUD_LIST = "/api/v1/accounts/cloud/list" | |||
API_ACCOUNTS_KUBERNETES_LIST = "/api/v1/accounts/kubernetes/list" | |||
API_ACCOUNTS_AWS_REGIONS = "/api/v1/accounts/aws/regions" | |||
API_ACCOUNTS_CSPM_LINK = "/api/v1/accounts/aws/cspmstack" | |||
API_ACCOUNTS_DELETE_FEATURE = "/api/v1/accounts/feature" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you dont use if for more than just delete?
PR Type
Enhancement, Tests
Description
Introduced CSPM-specific functionality in backend API and tests.
Added new
CSPM
class for CSPM-related system tests.Refactored existing
Accounts
tests to use CSPM.Updated system test mapping to rename
accounts
tocspm
.Changes walkthrough 📝
accounts_tests.py
Refactor accounts tests to use CSPM
configurations/system/tests_cases/accounts_tests.py
accounts
method tocspm
.cspm
instead ofaccounts
.create_test_tenant
parameter toKubescapeConfiguration
.cspm.py
Add CSPM class for CSPM-specific tests
tests_scripts/accounts/cspm.py
CSPM
class inheriting fromAccounts
.backend_api.py
Add CSPM API endpoints and methods
infrastructure/backend_api.py
get_cspm_link
anddelete_accounts_feature
methods.TestUtil
.accounts.py
Refactor Accounts class to remove CSPM logic
tests_scripts/accounts/accounts.py
Accounts
class.system_test_mapping.json
Update system test mapping for CSPM
system_test_mapping.json
accounts
mapping tocspm
.