Open scottford-io opened 4 months ago
interesting, i'm getting a slightly diff error:
DBG marketplace> fetched policy bundle from upstream policy=//assets.api.mondoo.app/spaces/beautiful-wiles-231755/assets/2fEbnpshR0sNpdZHMnbP8GbHnbC req-id=global
DBG client> got policy bundle
fatal error: runtime: out of memory
runtime stack:
runtime.throw({0x1ef6839?, 0x20300b?})
which means we hit this first log message, but not the next
log.Debug().Msg("client> got policy bundle")
logger.TraceJSON(assetBundle)
logger.DebugDumpYAML("assetBundle", assetBundle)
}
rawFilters, err := hub.GetPolicyFilters(s.job.Ctx, &policy.Mrn{Mrn: s.job.Asset.Mrn})
if err != nil {
return nil, err
}
log.Debug().Str("asset", s.job.Asset.Mrn).Msg("client> got policy filters")
logger.TraceJSON(rawFilters)
logger.DebugDumpYAML("policyFilters", rawFilters)
this line appears to be the one i'm hitting: logger.DebugDumpYAML("assetBundle", assetBundle
but when i run without debug, it runs through just fine 🤔
@vjeffrey this was a t2.micro
instance. Do you want me to try it with a t2.small
or medium as well?
Describe the bug
sudo cnspec scan local
panics