Skip to content

S3 External Modules Cannot Be Downloaded, breaking suppressions w/ plan files #5895

Open
@tarfeef101

Description

@tarfeef101

Describe the issue
I use s3-sourced modules for private modules at my company. We sometimes need to mute checks for various reasons inside these modules. However, since we run checkov on plans w/ enrichment, these need downloading for skips to work. They do not, however, as checkov throws this error when it tries to get modules:

No connection adapters were found for 's3::https:/versions'

It seems that s3-stored modules are just "not handled" currently, and are treated as just http, which requests cannot handle

Examples

module "geotab-example" {
  source       = "s3::https://s3.amazonaws.com/path-to-module.tgz"
  argument = "foo"
}

^ the above module should contain a skip inside its code, and it should work, but it does not

Version (please complete the following information):

  • Checkov Version 2.5.18

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions