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

query(terraform): Unable to scan - custom module that is not official from terraform #7305

Open
ahpraveen opened this issue Dec 10, 2024 · 2 comments
Labels
aws PR related with AWS Cloud community Community contribution query New query feature terraform Terraform query

Comments

@ahpraveen
Copy link

ahpraveen commented Dec 10, 2024

Looking for a possible solution to scan a custom module that is written privately.

Upon exploring notice using KICS we can scan terraform official only AWS modules but not custom module written privately.

Is there a way i can write a query specific to a custom module.

@ahpraveen ahpraveen added bug Something isn't working community Community contribution labels Dec 10, 2024
@github-actions github-actions bot added query New query feature terraform Terraform query and removed bug Something isn't working labels Dec 10, 2024
@ahpraveen ahpraveen changed the title Unable to scan - custom module that is not official from terraform query(terraform - gcp): Unable to scan - custom module that is not official from terraform Dec 10, 2024
@github-actions github-actions bot added gcp PR related with GCP Cloud aws PR related with AWS Cloud labels Dec 10, 2024
@ahpraveen ahpraveen changed the title query(terraform - gcp): Unable to scan - custom module that is not official from terraform query(terraform): Unable to scan - custom module that is not official from terraform Dec 10, 2024
@kicsbot
Copy link
Contributor

kicsbot commented Dec 10, 2024

Please, follow the guideline for an issue title:

For bug:

bug(<scope>): <title starting with lowercase letter>

For query:

query(<platform>): <title starting with lowercase letter>

For feature request:

feat(<scope>): <title starting with lowercase letter>

Thank you!
KICS Team

@github-actions github-actions bot removed the gcp PR related with GCP Cloud label Dec 10, 2024
@ahpraveen
Copy link
Author

(e.g)
"child_modules": [
{
"resources":[
{
"address": "module.secret-manager-secret-abc.module.core-gcp-region-validation.terraform_data.region_validation",
"mode":"managed",
"type":"terraform_data",
"name":"region_validation",
"values": {
"input": "us-west4",
"triggered_replace":null
}
}],
address: "module.secret-manager-secret-abc.module.core-gcp-region-validation"
}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws PR related with AWS Cloud community Community contribution query New query feature terraform Terraform query
Projects
None yet
Development

No branches or pull requests

2 participants