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

[
  {
    "os": [
      "win",
      "linux",
      "mac",
      "chromeos_ash",
      "chromeos_lacros",
      "fuchsia"
    ],
    "policy_pref_mapping_tests": [
      {
        "policies": {
          "OnFileDownloadedEnterpriseConnector": [
            {
              "block_large_files": true,
              "block_password_protected": false,
              "block_until_verdict": 1,
              "disable": [
                {
                  "tags": [
                    "malware"
                  ],
                  "url_list": [
                    "*.us.com"
                  ]
                }
              ],
              "enable": [
                {
                  "tags": [
                    "malware"
                  ],
                  "url_list": [
                    "*"
                  ]
                },
                {
                  "tags": [
                    "dlp"
                  ],
                  "url_list": [
                    "*.them.com",
                    "*.others.com"
                  ]
                }
              ],
              "service_provider": "google"
            }
          ]
        },
        "prefs": {
          "enterprise_connectors.on_file_downloaded": {
            "value": [
              {
                "block_large_files": true,
                "block_password_protected": false,
                "block_until_verdict": 1,
                "disable": [
                  {
                    "tags": [
                      "malware"
                    ],
                    "url_list": [
                      "*.us.com"
                    ]
                  }
                ],
                "enable": [
                  {
                    "tags": [
                      "malware"
                    ],
                    "url_list": [
                      "*"
                    ]
                  },
                  {
                    "tags": [
                      "dlp"
                    ],
                    "url_list": [
                      "*.them.com",
                      "*.others.com"
                    ]
                  }
                ],
                "service_provider": "google"
              }
            ]
          }
        }
      }
    ]
  },
  {
    "os": [
      "win",
      "linux",
      "mac"
    ],
    "policy_pref_mapping_tests": [
      {
        "policies": {
          "OnFileDownloadedEnterpriseConnector": [
            {
              "block_large_files": false,
              "block_password_protected": false,
              "block_until_verdict": 1,
              "disable": [],
              "enable": [
                {
                  "tags": [
                    "dlp"
                  ],
                  "url_list": [
                    "*"
                  ]
                }
              ],
              "service_provider": "local_user_agent",
              "verification": {
                "linux": [
                  "key"
                ],
                "mac": [
                  "key"
                ],
                "windows": [
                  "key"
                ]
              }
            }
          ]
        },
        "prefs": {
          "enterprise_connectors.on_file_downloaded": {
            "value": [
              {
                "block_large_files": false,
                "block_password_protected": false,
                "block_until_verdict": 1,
                "disable": [],
                "enable": [
                  {
                    "tags": [
                      "dlp"
                    ],
                    "url_list": [
                      "*"
                    ]
                  }
                ],
                "service_provider": "local_user_agent",
                "verification": {
                  "linux": [
                    "key"
                  ],
                  "mac": [
                    "key"
                  ],
                  "windows": [
                    "key"
                  ]
                }
              }
            ]
          }
        }
      }
    ]
  }
]