-
Notifications
You must be signed in to change notification settings - Fork 11
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
tests: Re add scanner_test.go #8
Conversation
@nikpivkin can you take a look? |
"io/fs" | ||
"testing" | ||
|
||
"github.com/aquasecurity/defsec/pkg/providers/azure" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not have a dependency on azure. Isn't it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes but it's part of a multi cloud test that today lives here
trivy-aws/pkg/scanner/scanner_test.go
Line 358 in bc16385
name: "multi cloud, single selector, same named service", |
pkg/scanner/options.go
Outdated
@@ -1,7 +1,7 @@ | |||
package scanner | |||
|
|||
import ( | |||
"github.com/aquasecurity/defsec/pkg/scanners/options" | |||
"github.com/aquasecurity/trivy-iac/pkg/scanners/options" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have trivy-iac as a dependency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm yeah maybe the options
package needs to be abstracted out of trivy-iac
as well to a common place. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated it here ba16ec1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.