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
using the online k8s provider with the --use-recording switch will work sort-of, but only with an online asset, which can be the wrong one.
Running against this EKS PASS recording when kubctl is actually talking to an AKS cluster, will lead to the correct results, but with the wrong asset
2) the --use-recording switch running against a recording that would need the --sudo switch it will fail the checks that count on it
cnspec scan mock -f ~/projects/cnspec-enterprise-policies/policies/azure-aks.mql.yaml --use-recording ~/projects/cnspec-enterprise-policies/certifications/aks-1.5.0/pass-node.json -o full
Desired behaviour.
Be able to use cnspec scan mock and --use-recording as a replacement for any other provider, e.g. cnspec scan k8s and --use-recording
Be able to cnspec scan mock and --use-recording without depending on a live connection to a previously scanned asset cnspec scan --record when scanning a .json file.
The text was updated successfully, but these errors were encountered:
1) the
--use-recording
switch depends on live provider authenticationusing the online k8s provider with the --use-recording switch will work sort-of, but only with an online asset, which can be the wrong one.
Running against this EKS PASS recording when
kubctl
is actually talking to an AKS cluster, will lead to the correct results, but with the wrong asset2) the
--use-recording
switch running against a recording that would need the --sudo switch it will fail the checks that count on itDesired behaviour.
cnspec scan mock
and--use-recording
as a replacement for any other provider, e.g.cnspec scan k8s
and--use-recording
cnspec scan mock
and--use-recording
without depending on a live connection to a previously scanned assetcnspec scan --record
when scanning a.json
file.The text was updated successfully, but these errors were encountered: