config

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package config writes the starter prodmask.yml that a scan proposes: what to mask in each column and meta key, which tables to empty, which inferred relationships to follow, and what to neutralise.

Index

Constants

This section is empty.

Variables

View Source
var Strategies = []string{
	"keep", "null", "empty", "hash", "delete", "redact",
	"fake_email", "fake_phone", "fake_name", "fake_first_name", "fake_last_name", "fake_username",
	"fake_street", "fake_postcode", "fake_city", "fake_company", "fake_iban", "fake_ip",
	"fake_user_agent", "fake_date", "test_card", "staging_password",
}

Strategies lists the masking strategies a config may use.

Functions

func Write

func Write(w io.Writer, res *model.Result) error

Write renders the starter config for a scan result.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL