Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/userguide/audit.diviner
Show First 20 Lines • Show All 169 Lines • ▼ Show 20 Lines | |||||
**Delete Audits**: Delete audits that match certain parameters with | **Delete Audits**: Delete audits that match certain parameters with | ||||
`bin/audit delete`. | `bin/audit delete`. | ||||
You can use this command to forcibly delete requests which may have triggered | You can use this command to forcibly delete requests which may have triggered | ||||
incorrectly (for example, because a package or Herald rule was configured in an | incorrectly (for example, because a package or Herald rule was configured in an | ||||
overbroad way). | overbroad way). | ||||
After deleting audits, you may want to run `bin/audit synchronize` to | |||||
synchronize audit state. | |||||
**Synchronize Audit State**: Synchronize the audit state of commits to the | **Synchronize Audit State**: Synchronize the audit state of commits to the | ||||
current open audit requests with `bin/audit synchronize`. | current open audit requests with `bin/audit synchronize`. | ||||
Normally, overall audit state is automatically kept up to date as changes are | Normally, overall audit state is automatically kept up to date as changes are | ||||
made to an audit. However, if you delete audits or manually update the database | made to an audit. However, if you manually update the database to make changes | ||||
to make changes to audit request state, the state of corresponding commits may | to audit request state, the state of corresponding commits may no longer be | ||||
no longer be correct. | consistent. | ||||
amckinley: "if you manually update" | |||||
Not Done Inline Actions"may no longer be consistent."? amckinley: "may no longer be consistent."? | |||||
This command will update commits so their overall audit state reflects the | This command will update commits so their overall audit state reflects the | ||||
cumulative state of their actual audit requests. | cumulative state of their actual audit requests. | ||||
**Update Owners Package Membership**: Update which Owners packages commits | **Update Owners Package Membership**: Update which Owners packages commits | ||||
belong to with `bin/audit update-owners`. | belong to with `bin/audit update-owners`. | ||||
Normally, commits are automatically associated with packages when they are | Normally, commits are automatically associated with packages when they are | ||||
imported. You can use this command to manually rebuild this association if | imported. You can use this command to manually rebuild this association if | ||||
you run into problems with it. | you run into problems with it. | ||||
Next Steps | Next Steps | ||||
========== | ========== | ||||
- Learn more about Herald at @{article:Herald User Guide}. | - Learn more about Herald at @{article:Herald User Guide}. |
"if you manually update"