hossted / cli

The hossted cli - built to interact with a hossted agent and the hossted API
https:/hossted.com
MIT License
4 stars 4 forks source link

cli activate shows WARNING for trivy-operator #100

Open gannulka opened 3 months ago

gannulka commented 3 months ago

if you run 0.4.5 or 0.4.6

bin/dev/hossted activate --token YOUR JWT --org_id YOUR ORG_ID -t k8s

you will see a lot of warnings messages from trivy


W0716 14:25:21.566192   17989 warnings.go:70] unknown field "spec.compliance.type"
W0716 14:25:21.572469   17989 warnings.go:70] unknown field "spec.compliance.platform"
W0716 14:25:21.572527   17989 warnings.go:70] unknown field "spec.compliance.type"
W0716 14:25:21.574315   17989 warnings.go:70] unknown field "spec.compliance.platform"
W0716 14:25:21.574358   17989 warnings.go:70] unknown field "spec.compliance.type"
W0716 14:25:21.584531   17989 warnings.go:70] unknown field "spec.compliance.controls[0].commands"
W0716 14:25:21.584574   17989 warnings.go:70] unknown field "spec.compliance.controls[10].commands"
W0716 14:25:21.584579   17989 warnings.go:70] unknown field "spec.compliance.controls[11].commands"
W0716 14:25:21.584583   17989 warnings.go:70] unknown field "spec.compliance.controls[12].commands"
W0716 14:25:21.584587   17989 warnings.go:70] unknown field "spec.compliance.controls[13].commands"
W0716 14:25:21.584591   17989 warnings.go:70] unknown field "spec.compliance.controls[14].commands"
W0716 14:25:21.584594   17989 warnings.go:70] unknown field "spec.compliance.controls[15].commands"
W0716 14:25:21.584598   17989 warnings.go:70] unknown field "spec.compliance.controls[16].commands"
W0716 14:25:21.584602   17989 warnings.go:70] unknown field "spec.compliance.controls[17].commands"
W0716 14:25:21.584606   17989 warnings.go:70] unknown field "spec.compliance.controls[18].commands"
W0716 14:25:21.584610   17989 warnings.go:70] unknown field "spec.compliance.controls[19].commands"
W0716 14:25:21.584993   17989 warnings.go:70] unknown field "spec.compliance.controls[1].commands"
W0716 14:25:21.585006   17989 warnings.go:70] unknown field "spec.compliance.controls[20].commands"
W0716 14:25:21.585010   17989 warnings.go:70] unknown field "spec.compliance.controls[2].commands"
W0716 14:25:21.585014   17989 warnings.go:70] unknown field "spec.compliance.controls[3].commands"
W0716 14:25:21.585018   17989 warnings.go:70] unknown field "spec.compliance.controls[4].commands"
W0716 14:25:21.585022   17989 warnings.go:70] unknown field "spec.compliance.controls[5].commands"
W0716 14:25:21.585026   17989 warnings.go:70] unknown field "spec.compliance.controls[67].commands"
W0716 14:25:21.585030   17989 warnings.go:70] unknown field "spec.compliance.controls[68].commands"
W0716 14:25:21.585034   17989 warnings.go:70] unknown field "spec.compliance.controls[69].command"
W0716 14:25:21.585204   17989 warnings.go:70] unknown field "spec.compliance.controls[71].commands"
W0716 14:25:21.585207   17989 warnings.go:70] unknown field "spec.compliance.controls[72].commands"
W0716 14:25:21.585211   17989 warnings.go:70] unknown field "spec.compliance.controls[73].commands"
W0716 14:25:21.585221   17989 warnings.go:70] unknown field "spec.compliance.controls[74].commands"
W0716 14:25:21.585225   17989 warnings.go:70] unknown field "spec.compliance.controls[75].commands"
W0716 14:25:21.585229   17989 warnings.go:70] unknown field "spec.compliance.controls[76].commands"
W0716 14:25:21.585233   17989 warnings.go:70] unknown field "spec.compliance.controls[77].commands"
W0716 14:25:21.585237   17989 warnings.go:70] unknown field "spec.compliance.controls[78].commands"
W0716 14:25:21.585246   17989 warnings.go:70] unknown field "spec.compliance.controls[79].commands"
W0716 14:25:21.585386   17989 warnings.go:70] unknown field "spec.compliance.controls[7].commands"
W0716 14:25:21.585393   17989 warnings.go:70] unknown field "spec.compliance.controls[80].commands"
W0716 14:25:21.585397   17989 warnings.go:70] unknown field "spec.compliance.controls[81].commands"
W0716 14:25:21.585401   17989 warnings.go:70] unknown field "spec.compliance.controls[82].commands"
W0716 14:25:21.585409   17989 warnings.go:70] unknown field "spec.compliance.controls[83].commands"
W0716 14:25:21.585413   17989 warnings.go:70] unknown field "spec.compliance.controls[84].commands"
W0716 14:25:21.585417   17989 warnings.go:70] unknown field "spec.compliance.controls[85].commands"
W0716 14:25:21.585421   17989 warnings.go:70] unknown field "spec.compliance.controls[86].commands"
W0716 14:25:21.585425   17989 warnings.go:70] unknown field "spec.compliance.controls[87].commands"
W0716 14:25:21.585429   17989 warnings.go:70] unknown field "spec.compliance.controls[88].commands"
W0716 14:25:21.587971   17989 warnings.go:70] unknown field "spec.compliance.controls[89].commands"
W0716 14:25:21.587990   17989 warnings.go:70] unknown field "spec.compliance.controls[8].commands"
W0716 14:25:21.587993   17989 warnings.go:70] unknown field "spec.compliance.controls[9].commands"
W0716 14:25:21.587997   17989 warnings.go:70] unknown field "spec.compliance.platform"
W0716 14:25:21.588000   17989 warnings.go:70] unknown field "spec.compliance.type"
Release Name: [trivy-operator] Status [deployed]```

Please check and fix