Closed simar7 closed 1 year ago
Same here:
`[25/32] Scanning neptune... [26/32] Scanning rds... └╴Adapting RDS DB snapshots... ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 0% 0/39 200/s ETA: 00m00s panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x283fe18]
goroutine 670 [running]: github.com/aquasecurity/defsec/internal/adapters/cloud/aws/rds.(*adapter).adaptDBSnapshots(, {0x8, 0x4001121d40, 0x4001121d60, 0x4001121e00, 0x4001121db0, 0x4001121d50, 0x0, 0x4001121d80, 0x4001121dd0, ...}) /home/runner/go/pkg/mod/github.com/aquasecurity/defsec@v0.89.0/internal/adapters/cloud/aws/rds/rds.go:339 +0x2b8 github.com/aquasecurity/defsec/pkg/concurrency.Adapt[...].func1() /home/runner/go/pkg/mod/github.com/aquasecurity/defsec@v0.89.0/pkg/concurrency/adapter.go:18 +0x4c github.com/aquasecurity/defsec/pkg/concurrency.AdaptWithState[...].func1() /home/runner/go/pkg/mod/github.com/aquasecurity/defsec@v0.89.0/pkg/concurrency/adapter.go:42 +0xfc created by github.com/aquasecurity/defsec/pkg/concurrency.AdaptWithState[...] /home/runner/go/pkg/mod/github.com/aquasecurity/defsec@v0.89.0/pkg/concurrency/adapter.go:35 +0x1b4`
Discussed in https://github.com/aquasecurity/trivy/discussions/4622