Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ To configure this feature, follow the instructions below.
2. These patterns are configured in the `<IS-HOME>/repository/conf/wso2-log-masking.properties`. You can change
its default configurations in `<IS-HOME>/repository/conf/deployment.toml`.

### Disabling Default Log Masking

To disable log masking, navigate to `<IS-HOME>/repository/conf/deployment.toml` and add the following configuration.

```toml
[masking_logs]
enabled = false
```

### The masking pattern file

The masking pattern file is a property file that can contain one or more
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ To configure this feature, follow the instructions below.
2. These patterns are configured in the `<IS-HOME>/repository/conf/wso2-log-masking.properties`. You can change
its default configurations in `<IS-HOME>/repository/conf/deployment.toml`.

### Disabling Default Log Masking

To disable log masking, navigate to `<IS-HOME>/repository/conf/deployment.toml` and add the following configuration.
Copy link

Copilot AI Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Break this sentence into two shorter sentences for better scannability. Consider: 'To disable log masking, open the <IS-HOME>/repository/conf/deployment.toml file. Add the following configuration to it.'

Copilot generated this review using guidance from repository custom instructions.


```toml
[masking_logs]
enabled = false
```

### The masking pattern file

The masking pattern file is a property file that can contain one or more
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ To configure this feature, follow the instructions below.
2. These patterns are configured in the `<IS-HOME>/repository/conf/wso2-log-masking.properties`. You can change
its default configurations in `<IS-HOME>/repository/conf/deployment.toml`.

### Disabling Default Log Masking

To disable log masking, navigate to `<IS-HOME>/repository/conf/deployment.toml` and add the following configuration.
Copy link

Copilot AI Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Break this sentence into two shorter sentences for better scannability. Consider: 'To disable log masking, open the <IS-HOME>/repository/conf/deployment.toml file. Add the following configuration to it.'

Copilot generated this review using guidance from repository custom instructions.


```toml
[masking_logs]
enabled = false
```

### The masking pattern file

The masking pattern file is a property file that can contain one or more
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Mask Sensitive Information in Logs

There can be business sensitive information that are added to logs in
There can be business sensitive information that are added to logs in
the product console and/or Carbon log files. When these logs
are analyzed, the information is exposed to those who check this.

Expand All @@ -11,8 +11,8 @@ information.

## Mask Sensitive Information in Logs with Log4j

Users can mask sensitive information from the log file at the time of logging.
In this feature, you can define patterns that need to be masked from the logs.
Users can mask sensitive information from the log file at the time of logging.
In this feature, you can define patterns that need to be masked from the logs.
This is particularly useful in the cases of credit card numbers, access tokens,
etc.

Expand All @@ -25,6 +25,15 @@ see, [Configure log masking with Log4j]({{base_path}}/deploy/monitor/log4j-mask-
Users can mask sensitive information from the logs at the time of shipping with Filebeat.
In this feature, you can define patterns that need to be masked from the logs and it
will be masked at the Filebeat level and shipped. However, the log file itself
will contain the sensitive information.
will contain the sensitive information.

see, [Configure log masking with Filebeat]({{base_path}}/deploy/monitor/elk-mask-sensitive-information-in-logs)

## Disabling Default Log Masking

By default, log masking is enabled. To disable log masking, navigate to `<IS-HOME>/repository/conf/deployment.toml` and add the following configuration.

```toml
[masking_logs]
enabled = false
```
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,12 @@ Users can mask sensitive information from the logs at the time of shipping with
In this feature, you can define patterns that need to be masked from the logs and it will be masked at the Filebeat level and shipped. However, the log file itself will contain sensitive information.

For more information, refer to [Configure log masking with Filebeat]({{base_path}}/deploy/monitor/elk-mask-sensitive-information-in-logs)

## Disabling Default Log Masking

By default, log masking is enabled. To disable log masking, navigate to `<IS-HOME>/repository/conf/deployment.toml` and add the following configuration.

```toml
[masking_logs]
enabled = false
```
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,12 @@ Users can mask sensitive information from the logs at the time of shipping with
In this feature, you can define patterns that need to be masked from the logs and it will be masked at the Filebeat level and shipped. However, the log file itself will contain sensitive information.

For more information, refer to [Configure log masking with Filebeat]({{base_path}}/deploy/monitor/elk-mask-sensitive-information-in-logs)

## Disabling Default Log Masking

By default, log masking is enabled. To disable log masking, navigate to `<IS-HOME>/repository/conf/deployment.toml` and add the following configuration.

```toml
[masking_logs]
enabled = false
```
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,12 @@ Users can mask sensitive information from the logs at the time of shipping with
In this feature, you can define patterns that need to be masked from the logs and it will be masked at the Filebeat level and shipped. However, the log file itself will contain sensitive information.

For more information, refer to [Configure log masking with Filebeat]({{base_path}}/deploy/monitor/elk-mask-sensitive-information-in-logs)

## Disabling Default Log Masking

By default, log masking is enabled. To disable log masking, navigate to `<IS-HOME>/repository/conf/deployment.toml` and add the following configuration.
Copy link

Copilot AI Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Break this sentence into two shorter sentences for better scannability. Consider: 'Log masking is enabled by default. To disable it, add the following configuration to <IS-HOME>/repository/conf/deployment.toml.'

Copilot generated this review using guidance from repository custom instructions.


```toml
[masking_logs]
enabled = false
```