chromium/components/policy/test/data/pref_mapping/DataLeakPreventionRulesList.json

[
  {
    "os": [
      "chromeos_ash",
      "chromeos_lacros"
    ],
    "simple_policy_pref_mapping_test": {
      "pref_name": "policy.dlp_rules_list",
      "pref_location": "local_state",
      "default_value": [],
      "values_to_test": [
        [
          {
            "description": "Allow copy and paste for work purposes but block screenshots, screen share and printing",
            "destinations": {
              "components": [],
              "urls": [
                "salesforce.com",
                "gmail.com",
                "docs.google.com",
                "drive.google.com",
                "*.company.com"
              ]
            },
            "name": "Support agent work flows",
            "restrictions": [
              {
                "class": "CLIPBOARD",
                "level": "ALLOW"
              },
              {
                "class": "SCREENSHOT",
                "level": "BLOCK"
              },
              {
                "class": "PRINTING",
                "level": "BLOCK"
              },
              {
                "class": "PRIVACY_SCREEN",
                "level": "BLOCK"
              },
              {
                "class": "SCREEN_SHARE",
                "level": "BLOCK"
              },
              {
                "class": "FILES",
                "level": "WARN"
              }
            ],
            "sources": {
              "urls": [
                "salesforce.com",
                "gmail.com",
                "docs.google.com",
                "drive.google.com",
                "*.company.com"
              ]
            }
          }
        ]
      ]
    }
  }
]