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

tests: Re add scanner_test.go #8

Merged
merged 4 commits into from
Sep 23, 2023
Merged

tests: Re add scanner_test.go #8

merged 4 commits into from
Sep 23, 2023

Conversation

simar7
Copy link
Member

@simar7 simar7 commented Sep 20, 2023

No description provided.

@simar7
Copy link
Member Author

simar7 commented Sep 21, 2023

@nikpivkin can you take a look?

"io/fs"
"testing"

"github.com/aquasecurity/defsec/pkg/providers/azure"
Copy link
Contributor

@nikpivkin nikpivkin Sep 21, 2023

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?

Copy link
Member Author

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

name: "multi cloud, single selector, same named service",

@@ -1,7 +1,7 @@
package scanner

import (
"github.com/aquasecurity/defsec/pkg/scanners/options"
"github.com/aquasecurity/trivy-iac/pkg/scanners/options"
Copy link
Contributor

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?

Copy link
Member Author

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?

Copy link
Member Author

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

Copy link
Contributor

@nikpivkin nikpivkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simar7 simar7 merged commit a3d8c8d into main Sep 23, 2023
4 checks passed
@simar7 simar7 deleted the add-tests branch September 23, 2023 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants