> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kasoftware.com/llms.txt
> Use this file to discover all available pages before exploring further.

# integrityResetTampering

> 在檢測到日誌篡改或應用程式資料庫更改後，重置知行之橋中的篡改顯跡警告狀態。

允許管理員在檢測到日誌篡改時，或在應用程式資料庫從一個資料庫更改為另一個資料庫時（請參閱[配置跨平臺版應用程式資料庫](https://docs.kasoftware.com/26.4/self-hosted/zh-Hant/getting-started/installation/cross-platform-edition.md#配置應用程式資料庫)或[配置 .NET 版應用程式資料庫](https://docs.kasoftware.com/26.4/self-hosted/zh-Hant/getting-started/installation/windows-edition.md#配置應用程式資料庫)瞭解特定平臺資訊），重置[篡改顯跡](https://docs.kasoftware.com/26.4/self-hosted/zh-Hant/getting-started/administration/activity.md#防篡改日誌)警告狀態。這允許管理員重新增立新的信任雜湊鏈。

## 必需的參數

* **justification**: 執行重置的原因。

## 可選的參數

* **logName**: 要重置雜湊鏈的日誌名稱。目前，唯一允許的值是 `app_audits`，未來計劃增加更多選項。

## 範例

重置[審計日誌](https://docs.kasoftware.com/26.4/self-hosted/zh-Hant/getting-started/administration/activity.md#審計日誌)雜湊鏈。

```xml theme={null}
<arc:set attr="reset.logName" value="app_audits" />
<arc:set attr="reset.justification" value="Tampering has been detected and the situation has been remedied." />
<arc:call op="integrityResetTampering" in="reset" />
```

由於應用程式更換了資料庫而重置雜湊鏈。

```xml theme={null}
<arc:set attr="reset.justification" value="Resetting because we have moved to a new backend database." />
<arc:call op="integrityResetTampering" in="reset" />
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.