Replies: 3 comments 3 replies
-
@fartbagxp are you able to share your terraform code? We don't require your GitHub credentials to run a IaC scan. |
Beta Was this translation helpful? Give feedback.
-
This is an interesting behavior. Trivy scanned a terraform (.tf) file starting with "module" and that somehow asked for my Github credentials. Once I ignored the module file, everything's working. |
Beta Was this translation helpful? Give feedback.
-
@fartbagxp @simar7 has this issue ever been identified? I'm having the same problem.
I think the code in question causing the issue is this: module "app" {
source = "github.com/xxxxx/xxxxx?ref=v1"
cluster_name = "cluster-${var.project}-${var.environment}"
name = var.name
namespace = var.namespace
environment = var.environment
project = var.project
container_image = var.container_image
timeout = "5m" I'm using the latest version
|
Beta Was this translation helpful? Give feedback.
-
Question
I've been trying to transition from tfsec to trivy for some simple terraform code.
It seems like running trivy via
trivy config .
, just to keep it simple, prompts me for a Github username/password.I'm not sure why though, and I couldn't find associated documentation as to why it's prompting me for username/password.
Target
None
Scanner
Misconfiguration
Output Format
JSON
Mode
None
Operating System
No response
Version
Beta Was this translation helpful? Give feedback.
All reactions