diff --git a/pkg/cmd/scan/output/assets/index.tmpl b/pkg/cmd/scan/output/assets/index.tmpl index d14628f9..10859710 100644 --- a/pkg/cmd/scan/output/assets/index.tmpl +++ b/pkg/cmd/scan/output/assets/index.tmpl @@ -1,3 +1,4 @@ +
There's nothing to see there...
-{{end}} -{{range $val := .Managed}} -{{$val.TerraformId}}
- {{$val.TerraformType}} -There's nothing to see there...
-{{end}} -{{range $val := .Unmanaged}} -{{$val.TerraformId}}
- {{$val.TerraformType}} -There's nothing to see there...
-{{end}} -{{range $diff := .Differences}} -{{$diff.Res.TerraformId}}
- {{$diff.Res.TerraformType}} + {{end}} + {{range $res := .Managed}} +There's nothing to see there...
+ {{end}} + {{range $res := .Unmanaged}} +There's nothing to see there...
+ {{end}} + {{range $diff := .Differences}} +There's nothing to see there...
-{{end}} -{{range $val := .Deleted}} -{{$val.TerraformId}}
- {{$val.TerraformType}} -There's nothing to see there...
-{{end}} -{{range $key, $val := .Alerts}} -{{$key}}
- {{$val}} + {{end}} + {{range $res := .Deleted}} +There's nothing to see there...
+ {{end}} + {{range $type, $messages := .Alerts}} +{{ res.id }}
+ {{ res.type }} +There's nothing to see there...
+ +{{ res.id }}
+ {{ res.type }} +There's nothing to see there...
+ +{{ ch.res.id }}
+ {{ ch.res.type }} +There's nothing to see there...
+ +{{ res.id }}
+ {{ res.type }} +There's nothing to see there...
+ +{{ alert.type }}
+There's nothing to see there...
+u?X(e,r,s,!0,!1,p):E(t,n,o,r,s,i,l,c,p)},D=(e,t,n,o,r,s,i,l,c)=>{let a=0;const u=t.length;let p=e.length-1,f=u-1;for(;a<=p&&a<=f;){const o=e[a],u=t[a]=c?tr(t[a]):er(t[a]);if(!Go(o,u))break;b(o,u,n,null,r,s,i,l,c),a++}for(;a<=p&&a<=f;){const o=e[p],a=t[f]=c?tr(t[f]):er(t[f]);if(!Go(o,a))break;b(o,a,n,null,r,s,i,l,c),p--,f--}if(a>p){if(a<=f){const e=f+1,p=ef)for(;a<=p;)K(e[a],r,s,!0),a++;else{const d=a,h=a,m=new Map;for(a=h;a<=f;a++){const e=t[a]=c?tr(t[a]):er(t[a]);null!=e.key&&m.set(e.key,a)}let v,y=0;const _=f-h+1;let x=!1,S=0;const C=new Array(_);for(a=0;a<_;a++)C[a]=0;for(a=d;a<=p;a++){const o=e[a];if(y>=_){K(o,r,s,!0);continue}let u;if(null!=o.key)u=m.get(o.key);else for(v=h;v<=f;v++)if(0===C[v-h]&&Go(o,t[v])){u=v;break}void 0===u?K(o,r,s,!0):(C[u-h]=a+1,u>=S?S=u:x=!0,b(o,t[u],n,null,r,s,i,l,c),y++)}const k=x?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;oDriftctl scan report ❌
+ Coverage 8%
+ Apr 21, 2021
+
+
+
+ Managed resources (2)
+
+
+
+ Unmanaged resources (2)
+
+
+
+ Changed resources (1)
+
+
+
+ Missing resources (2)
+
+
+
+ Alerts (1)
+
+
+
+