Skip to content

Data Scanner

In the process of using Guance products, many sensitive data such as network device addresses, Token, API keys, and personal privacy will inevitably be generated. In order to avoid information leakage and cause security risks, Guance provides the function of Sensitive Data Scanner, which realizes custom information shielding by creating desensitization rules for data.

Setup

Into Management > Data Scanner, you can customize New rules, or create directly from the Templates.

Custom Templates

Ⅰ. Scan range:

Field Description
Type The type of data that needs to be scanned; Log is selected by default.
Filters The range of data that needs to be scanned.

II. Define regex to match:

Field Description
Rule Name The name of the current data rule.
Regex To match data strings that need to be encrypted.
Data test Enter a string of data and click Test to verify whether it matches the regex.
⚠ Test data will not be saved.

III. Sensitive data processing:

  • Desensitization field: All fields are supported. There are three options: specified fields and excluded fields; Specified Fields is selected by default;

  • Desensitization mode:

    i. Replace all matching sensitive data with *.

    ii. Partially encryption: Replace some character strings in sensitive data with * to keep some sensitive information, for example: mobile phone number *1005.

    iii. Replace encryption: Replace all matching sensitive data with the specified string, which is irreversible after replacement.

    iv. MD5 encryption: Any data can be encrypted into a fixed-length string, which is irreversible after replacement.

Features of MD5 Encryption
  • Fixed length: No matter how long the string is, the length after encryption is the same, which is 32 bits.
  • Highly discrete: Any changes to the original data, even small changes, will lead to huge differences in the calculation results.
  • The operation is irreversible: When the operation result is known, the original string cannot be obtained through the inverse operation, but the screening and positioning can still be performed.
  • Add tags: You can add custom tags for the desensitized data. Multiple tags are separated by ,.

Templates

On Templates page, all monitoring template types are on the left, and all detection rules under the template type are on the right. You can perform the following operations:

  • In the detection library on the left, check a specific rule library to perform corresponding filtering;
  • After select multiple detection rules, you can create multiple data rules in batches.

When you select one or more detection rules, click Create;

On the page, Define regex to match is automatically collapsed, where you can select the templates again as needed.

After the creation is successful, all created rules can be viewed in the rule list.

Rule List

i. Query: Search based on monitor name in the 🔍 column.
ii. Click to delete the current rule.
iii. Click the Edit button to modify the current rule.
iv. You can enabling or disabling the current rule.
v. Batch operation: Click next to the rule name, the symbol can choose to disable, enable, and delete the selected rules in batches.

Feedback

Is this page helpful? ×