# LOG-08.1 | Customer Log Redaction

> What reviewers check in AI-CAIQ LOG-08.1, the minimum evidence to prepare, how to pick Yes/No/N/A, a sample answer, and a free assistant for follow-ups.

Canonical page: https://assurelane.ai/en/services/security-questionnaire/assistant/log-08-1/
Assistant: https://assurelane.ai/en/services/security-questionnaire/assistant/

## What the buyer is checking

The buyer checks whether you have defined, implemented, and evaluated measures that let customers detect sensitive data in logs and remove or tokenize it to prevent unauthorized exposure and meet applicable legal requirements. The scope covers application logs that may contain AI data such as prompts, responses, or embeddings, and how you handle that data before writing the logs. Buyers also look for synthetic-data tests, effects on performance and log latency, and reviews after changes to AI features, model integrations, architecture, or regulations. Internal redaction alone leaves the buyer without evidence that customers can use the capability.

## Minimum evidence to prepare

1. Log sensitive-data category list: a documented list of applicable sensitive-data categories, including AI-specific types such as prompts, responses, embeddings, fine-tuning data, and model-decision metadata.
2. Customer-facing capability description: configurable redaction rules, toggles, custom matching patterns, or a process through which you configure the service at the customer’s request.
3. Redaction configuration for log points and gateways: configuration showing detection and handling before storage at application log points, API gateways, application frameworks, and similar locations.
4. Synthetic-data test results: results from tests using synthetic sensitive-data scenarios, such as prompts containing personal information and requests containing credentials.
5. Access controls for unredacted logs and token mappings: who may access unredacted logs and token-restoration mappings, along with the applicable permissions.
6. Assessment and review records: records of control effectiveness, performance and log-latency assessment, and reviews at least annually or when architecture or regulations change.

## How to pick Yes / No / N/A

- Eligibility for answering Yes (Our criteria): Answer `Yes` if customers can use product functionality or an agreed process to detect sensitive data in logs and remove or tokenize it, and the measures are implemented, tested, and documented. Answer `No` if redaction is performed only internally and customers have no way to detect or request handling of the data, or if the response only states that logs contain no sensitive data without detection and testing.
- When to answer NA: We suggest considering `NA` only when the service produces no logs containing customer data and you can prove that. If prompts or responses are logged, `NA` does not apply. If you answer `NA`, the reason must be stated in the implementation description.
- Partial implementation: If the control is implemented and only minor gaps that do not significantly reduce its effectiveness exist (example for this question: one custom matching pattern still requires a ticket, while default categories are already usable), answer `Yes` and accurately disclose the gap, remediation plan, and target date in the implementation description. If the gap significantly weakens the control (example: prompts and responses are stored in plaintext and customers cannot handle them), answer `No` and provide a corrective plan in the description, including the owner, milestones, and completion date. This is the CSA completion-guide rule; the examples are our suggestion.

## How to fill in the SSRM ownership column

General rule: According to the CSA matrix instructions and the *Filling in the AI-CAIQ* guide, whether you answer `Yes` or `No`, you must select a responsible party in the SSRM column and use only values from the original matrix dropdown. When answering `Yes`, you cannot select `Not Determined`. When answering `No`, select the party best suited to own remediation; select `Not Determined` only if it truly cannot be determined. When answering `NA`, the original matrix instructions require leaving this column blank; the filling guide says to usually select `Not Determined`, or select the upstream or downstream party if that party is clearly responsible. For submissions to the STAR registry, follow the filling guide; for questionnaires sent directly by a buyer, either approach is acceptable. Every `NA` answer must state the reason in the implementation description.

This application-layer item defaults to `Shared OSP-AP` in the CSA matrix. We suggest retaining `Shared OSP-AP` when an orchestration platform participates in logging and redaction. If the entire log pipeline is within your application and there is no orchestrator, you may select `Owned by AP` and state the reason. If customers must define their own sensitive-data categories or enable a switch, consider `Shared AP-AIC` and make this clear in the `Service Customer Responsibilities` column.

## Sample answer (if Yes)

```
Yes. Sensitive log data is categorized as [list sensitive-data categories, including applicable AI-specific types]. Before persistence, [removal/tokenization/redaction] is performed at [application log record points, API gateways, and/or application frameworks]. Customers can use or request [configurable rules, enablement switch, custom matching patterns, or vendor-configured process] to detect and handle sensitive data. Synthetic sensitive-data testing was performed on [test date], with [test result]. Access to unredacted logs and token-restoration mappings is restricted to [approved roles, groups, or access controls]. The rules are reviewed [review frequency or triggers, such as annually or upon architecture, model-integration, AI-functionality, or regulatory changes].
```

## Answers that get rejected

- Stating only “PII is redacted” without explaining what customers can detect or request to have removed or tokenized: this does not demonstrate a customer-facing capability.
- Stating “Application logs are redacted.” without addressing API gateways, tracing, and error reporting: plaintext data in those paths leaves a critical gap in scope.
- Stating “Tested successfully.” without providing synthetic sensitive-data test results: the buyer cannot verify that the redaction controls are effective.
- Stating “Token restoration mappings are readable by everyone.” or otherwise leaving the mappings unrestricted: this fails least-privilege access control and could permit unauthorized re-identification.

## Who does what

Your engineering team is responsible for the redaction functionality and configuration. Customers define customer-side rules. Testing may be performed internally or with assistance from an external party, but your organization confirms the final answer. Legal should confirm the specific requirements of applicable laws and regulations.

## Related questions

- [LOG-15.1 Logging AI Input Events](https://assurelane.ai/en/services/security-questionnaire/assistant/log-15-1/)
- [LOG-16.1 Logging AI Output Events](https://assurelane.ai/en/services/security-questionnaire/assistant/log-16-1/)
