- <description><h3 id="description">Description</h3>
<p>Download audit.</p>
<h3 id="command">Command</h3>
<p><code>codefresh download audit</code></p>
<h3 id="options">Options</h3>
<table>
 <thead>
 <tr>
 <th>Option</th>
 <th>Alias</th>
 <th>Type</th>
 <th>Default</th>
 <th>Description</th>
 </tr>
 </thead>
 <tbody>
 <tr>
 <td>&ndash;help</td>
 <td></td>
 <td></td>
 <td></td>
 <td>Print help information</td>
 </tr>
 <tr>
 <td>&ndash;userName</td>
 <td></td>
 <td></td>
 <td></td>
 <td>filter by user name</td>
 </tr>
 <tr>
 <td>&ndash;userId</td>
 <td></td>
 <td></td>
 <td></td>
 <td>filter by codefresh user id</td>
 </tr>
 <tr>
 <td>&ndash;entity</td>
 <td></td>
 <td></td>
 <td></td>
 <td>filter by api entity, example: pipeline, account</td>
 </tr>
 <tr>
 <td>&ndash;entityId</td>
 <td></td>
 <td></td>
 <td></td>
 <td>filter by api entity id, this value different for each action, example: email, user id</td>
 </tr>
 <tr>
 <td>&ndash;action</td>
 <td></td>
 <td></td>
 <td></td>
 <td>filter by api action, get possible values on /api/audit/entitiesList, you will see only actions which was happen in your account</td>
 </tr>
 <tr>
 <td>&ndash;rs_status</td>
 <td></td>
 <td></td>
 <td></td>
 <td>filter by response status code</td>
 </tr>
 <tr>
 <td>&ndash;showTriggers</td>
 <td></td>
 <td></td>
 <td></td>
 <td>returns only actions related to receiving triggers</td>
 </tr>
 <tr>
 <td>&ndash;search</td>
 <td></td>
 <td></td>
 <td></td>
 <td>filter by searching substring in request body or query or params or headers or url</td>
 </tr>
 <tr>
 <td>&ndash;from</td>
 <td></td>
 <td></td>
 <td></td>
 <td>filter by date, value is number of milliseconds since 1970</td>
 </tr>
 <tr>
 <td>&ndash;to</td>
 <td></td>
 <td></td>
 <td></td>
 <td>filter by date, value is number of milliseconds since 1970</td>
 </tr>
 <tr>
 <td>&ndash;sortField</td>
 <td></td>
 <td></td>
 <td></td>
 <td>name of sorting field, values: id, createdAt, updatedAt<br><br>Possible values:<br> - id<br> - createdAt<br> - updatedAt</td>
 </tr>
 <tr>
 <td>&ndash;sortType</td>
 <td></td>
 <td></td>
 <td></td>
 <td>sorting type, values: ASK, DESK<br><br>Possible values:<br> - ASK<br> - DESK</td>
 </tr>
 <tr>
 <td>&ndash;file</td>
 <td></td>
 <td>string</td>
 <td>/codefresh/volume/cli/codefresh_audit_2026-05-06_14-20-49.csv</td>
 <td>The name of the file and the directory in which the audit will be saved</td>
 </tr>
 </tbody>
</table>
<h3 id="examples">Examples</h3>
<h4 id="undefined">undefined</h4>
<p><code>codefresh download audit --file /var/www/audit.csv</code></p></description>
0 commit comments