This commit is contained in:
asteam committed 2025-09-23 14:34:24 +03:00
1 parent b924e85e49
commit f1ffb4c0fd
1108 files changed
+72020

No files matched your search

@@ -0,0 +1,18 @@
package audit
import (
"context"
"net/http"
)
// ExportAuditsToFile Get audits in csv file, return []byte which should be written to a file *tar.gz
func (a Audit) ExportAuditsToFile(ctx context.Context) ([]byte, error) {
url := "/cloudbroker/audit/exportAuditsToFile"
res, err := a.client.DecortApiCall(ctx, http.MethodPost, url, nil)
if err != nil {
return nil, err
}
return res, nil
}