You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I have an issue where I have yaml kuberenetes manifest files in two different directories for my project and want to know how I can scan all my kubernetes files within one scan. That is similar to this command kubescape scan --verbose test-dir/*.yaml other-dir/*yaml
Also I'm outputting the results to json and want to retrive the relative file path such that it is like relativePath: test-dir/myFile.yaml.
However, the source found in the output which is the same as the relativePath in the json is Source: myFile.yaml, but I want it to be Source: test-dir/myFile.yaml so I know exactly where the file is scanned.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently, I have an issue where I have yaml kuberenetes manifest files in two different directories for my project and want to know how I can scan all my kubernetes files within one scan. That is similar to this command
kubescape scan --verbose test-dir/*.yaml other-dir/*yaml
Also I'm outputting the results to json and want to retrive the relative file path such that it is like
relativePath: test-dir/myFile.yaml
.However, the source found in the output which is the same as the relativePath in the json is
Source: myFile.yaml
, but I want it to beSource: test-dir/myFile.yaml
so I know exactly where the file is scanned.Any help would be appreciated
Beta Was this translation helpful? Give feedback.
All reactions