Closed Prateeknandle closed 1 year ago
removed grab package dependency for downloading policy-template zip file. grab.Get gives error server returned 403 Forbidden
grab
grab.Get
server returned 403 Forbidden
using net/http package instead. for ref - https://accuknox.slack.com/archives/C0229TD83RA/p1694106383879899
net/http
@daemon1024 where should we store the zip?
@Prateeknandle I meant that
https://github.com/kubearmor/kubearmor-client/blob/11d6d3e1c30b15faf8a6790747540579e195c9ad/recommend/recommend.go#L108
in this line, let's not return error but just log a Warning and continue recommend with old templates
removed
grab
package dependency for downloading policy-template zip file.grab.Get
gives errorserver returned 403 Forbidden
using
net/http
package instead. for ref - https://accuknox.slack.com/archives/C0229TD83RA/p1694106383879899