How to: Set disallowed geolocations

In the example below, several countries are designated as disallowed geolocations. Traffic from them will trigger an alarm and be blocked.

{
    "violations": [
        {
            "name": "VIOL_GEOLOCATION",
            "alarm": true,
            "block": true,
            "learn": true
        }
    ],
    "disallowed-geolocations": [
        {
            "countryCode": "IL"
        },
        {
            "countryCode": "RU"
        },
        {
            "countryCode": "N/A"
        },
        {
            "countryCode": "KZ"
        },
        {
            "countryCode": "AF"
        },
        {
            "countryCode": "MN"
        },
        {
            "countryCode": "AR"
        },
        {
            "countryCode": "US"
        },
        {
            "countryCode": "CA"
        },
        {
            "countryCode": "VA"
        },
        {
            "countryCode": "JP"
        },
        {
            "countryCode": "CN"
        }
    ]
}