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
resource ID has an invalid format Dockerfile #1344
Comments
Hi @nhalstead Could you please share a sample docker file code where you see these errors? Thanks |
Hi @gaurav-gogia I was able to bypass the exit code error BUT the output JSON is messed up with error values when it should come out on Standard Error, not Standard Output. Command:terrascan scan --output json --log-type console --use-colors false > report.json 2> error.txt || true error.txt
report.json:ERROR: json: cannot unmarshal number into Go struct field Function_Environment.Properties.Environment.Variables of type string
{
"results": {
"scan_errors": [
{
... |
I see. That might be a separate issue. Might require some design changes around how errors are being handled. Currently all logs are written to Standard Output, AFAIK. Could you please open a separate issue for this? |
@gaurav-gogia Openned a new issue for this. If you run the command previously attached, you can see the output does come out of |
Closed in favour of 1378 |
Hi @gaurav-gogia are you able to get a release of the changes? |
Description
opa/engine.go:419
What I Did
Is it possible to have a Flag to skip errors during the engine's
FindAllResourcesByID
error check?The text was updated successfully, but these errors were encountered: