Products

Solutions

Resources

Search for API Security Tests

/

/

Kubernetes Kustomization Disclosure

Kubernetes Kustomization Disclosure

Search for the presence of Kubernetes Kustomization files (kustomization.yml) on the provided URLs.

Security Misconfiguration (SM)

"Kubernetes Kustomization Disclosure involves searching for the presence of Kubernetes Kustomization files (kustomization.yml) on the provided URLs. These files define customizations for Kubernetes deployments and may contain sensitive configuration information such as API versions, resource definitions, namespaces, and labels. Identifying and addressing this vulnerability is critical to prevent unauthorized access, protect sensitive data, and maintain the integrity of Kubernetes deployments."

"Kubernetes Kustomization Disclosure involves searching for the presence of Kubernetes Kustomization files (kustomization.yml) on the provided URLs. These files define customizations for Kubernetes deployments and may contain sensitive configuration information such as API versions, resource definitions, namespaces, and labels. Identifying and addressing this vulnerability is critical to prevent unauthorized access, protect sensitive data, and maintain the integrity of Kubernetes deployments."

Impact of the vulnerability

Impact of the vulnerability

Exposing Kubernetes Kustomization files reveals sensitive configuration details, enabling attackers to gain insights into the deployment structure and potentially launch unauthorized access, data leaks, or further attacks.

Exposing Kubernetes Kustomization files reveals sensitive configuration details, enabling attackers to gain insights into the deployment structure and potentially launch unauthorized access, data leaks, or further attacks.

How this template works

APIs Selection

The API selection filters in this template specify the criteria for selecting the URLs to be tested. In this case, the filters include checking the response code to be between 200 and 299, and extracting the URL into a variable called "urlVar".

Execute request

The execute section defines the type of request to be made and the modifications to be applied to the URL. In this template, a single request is made, and the URL is modified by appending "/kustomization.yml" to the extracted URL variable.

Validation

The validation section defines the criteria for validating the response received from the executed request. It checks that the response code is 200, the response payload contains at least one of the specified keywords (such as "apiVersion", "resources", etc.), and the response headers contain a value that matches one of the specified content types (e.g., "application/yaml").

Frequently asked questions

What is the purpose of the Kubernetes Kustomization Disclosure test

What impact does exposing Kubernetes Kustomization files have

What category and subcategory does this test fall under

What are the validation criteria for a successful test

What modifications are made to the URL before sending the request

Are there any references or external resources related to this test

Loved by security teams!

Loved by security teams!

Product Hunt Badge

"We are absolutely thrilled with the testing feature of Akto. We have used it on our graphQL endpoints and it performs flawlessly identifying common API security issues. It's truly a game-changer and we highly recommend Akto to anyone looking to effortlessly secure their API endpoints. With a user-friendly interface, it's the perfect solution for anyone looking to embrace custom rules with context to reduce false positives."

Loom Company logo

Security team,

Loom

"We are absolutely thrilled with the testing feature of Akto. We have used it on our graphQL endpoints and it performs flawlessly identifying common API security issues. It's truly a game-changer and we highly recommend Akto to anyone looking to effortlessly secure their API endpoints. With a user-friendly interface, it's the perfect solution for anyone looking to embrace custom rules with context to reduce false positives."

Loom Company logo

Security team,

Loom

"The text editor in Akto is absolutely remarkable. Its user-friendly YAML format strikes the perfect balance between simplicity and power. With intuitive features like 'API selection filter', 'Execute', Validate' creating test rules becomes incredibly easy. Akto's test editor is a game-changer, enabling seamless creation of highly personalized and effective tests that could meet the needs of any modern day organization. "

Rippling Company logo

Security team,

Rippling

Suggest API security tests

Suggest API security tests

We're actively building the test library. Suggest a test! If we like your suggestion, you will see it in the library in few days.

We're actively building the test library. Suggest a test! If we like your suggestion, you will see it in the library in few days.