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

feat(namespace): add --namespaces argument and solve bugs #3431

Merged
merged 31 commits into from
Feb 28, 2024

Conversation

sergargar
Copy link
Member

@sergargar sergargar commented Feb 22, 2024

Description

Add --namespaces argument to allow scanning one or more specific namespaces and solve the following bugs:

  1. Extracted credentials and prints from the first context of the configuration.
  2. Implemented the functionality to extract the correct context.
  3. Implemented a timeout verification mechanism.
  4. Resolved the issue of erroneous namespaces in credentials.
  5. Addressed the duplication of services in the summary table.
  6. Updated filename handling to support special characters such as ":" and "/" from the ARN.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sergargar sergargar requested a review from a team as a code owner February 22, 2024 15:36
@jfagoagas jfagoagas added prowler-4.0 provider/kubernetes Issues/PRs related with the Kubernetes provider labels Feb 22, 2024
@@ -14,32 +14,59 @@ class KubernetesProvider(Provider):
# TODO change class name from Provider to Provider
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# TODO change class name from Provider to Provider
# TODO change class name from Provider to Provider

Copy link
Member

@jfagoagas jfagoagas left a comment

Choose a reason for hiding this comment

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

@sergargar sergargar merged commit b0f2f34 into prowler-4.0-dev Feb 28, 2024
3 of 7 checks passed
@sergargar sergargar deleted the kubernetes-provider branch February 28, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
provider/kubernetes Issues/PRs related with the Kubernetes provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants