local_policy

Event Configuration Policy

You can use a combination of plug-ins on your captive portal. For example, you can use all the social media plugins to provide guests with the option of using any social media account of their choice to authenticate and access the WiFi. Or, if you are organizing an event and want to provide WiFi access to guests, you can create a batch of guest user accounts in Guest Manager and provide the account details to the guests to access the WiFi by using these account credentials.
Another use case is to give users the option to access WiFi without any authentication. Say, you have configured the social media plug-ins on your portal. But you also want to provide WiFi access to guests who do not have a social media account or do not wish to use their social media account credentials. In this case, you can provide a link on the portal page that allows users to access the WiFi.

JSON Table

Parameter Data Type Description
policyCreatedAtLocId application/json ID of the location at which the policy has been defined. For details about the JSON, click Location ID.
policyType String A read-only field for internal use.
eventTypes application/json A group of attributes related to event types.
eventTypes/majorType String The three broad categories of events. The applicable values are:

  • SECURITY
  • SYSTEM
  • PERFORMANCE
eventTypes/category int The applicable values are:

  • 59 – Rogue AP
  • 51 – Misconfigured AP
  • 66 – Misbehaving Clients
  • 69 – Prevention
  • 52 – DoS
  • 61 – Adhoc Network
  • 62 – Cracking
  • 60 – Man-in- the-Middle
  • 65 – MAC Spoofing
  • 53 – Reconnaissance
  • 70 – Troubleshooting
  • 71 – Sensor
  • 72 – Server
  • 80 – Coverage
  • 81 – Configuration
  • 82 – Bandwidth
  • 83 – Interference
eventTypes/minorType int The minor type of event.
eventTypes/notify boolean A true or false value indicating whether external notifications must be sent if this type of event is raised. True indicates that the external notifications will be sent.
eventTypes/vulnerable boolean A true or false value indicating whether the event type will render the system vulnerable. True indicates that the event type will render the system vulnerable.
eventTypes/displayEvent boolean A true or false value indicating whether the event must be displayed in the event listing if this type of event is raised. True indicates that the event will be displayed in the event listing.
eventTypes/sendMail boolean A true or false value indicating whetheran email should be sent if this type of event is raised. True indicates that an email will be sent if this type of event is raised.
eventTypes/severityLevel String. The applicable values are:

  • HIGH
  • MEDIUM
  • LOW

Copy Sample JSON
Sample JSON
{
    "policyCreatedAtLocId": {
        "type": "locallocationid",
        "id": 0
    },
    "policyType": "EVENT_CONFIGURATION_POLICY",
    "eventTypes": [
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 259,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SYSTEM",
            "category": 71,
            "minorType": 274,
            "notify": true,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SYSTEM",
            "category": 72,
            "minorType": 276,
            "notify": true,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 51,
            "minorType": 301,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SYSTEM",
            "category": 70,
            "minorType": 303,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SECURITY",
            "category": 51,
            "minorType": 306,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SYSTEM",
            "category": 70,
            "minorType": 327,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 258,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 53,
            "minorType": 400,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SYSTEM",
            "category": 71,
            "minorType": 430,
            "notify": true,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SYSTEM",
            "category": 71,
            "minorType": 491,
            "notify": true,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SYSTEM",
            "category": 71,
            "minorType": 492,
            "notify": true,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SECURITY",
            "category": 53,
            "minorType": 268,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SECURITY",
            "category": 51,
            "minorType": 386,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SYSTEM",
            "category": 72,
            "minorType": 341,
            "notify": true,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 59,
            "minorType": 600,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 65,
            "minorType": 601,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 60,
            "minorType": 602,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 604,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 53,
            "minorType": 605,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 607,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 608,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 609,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 61,
            "minorType": 610,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 611,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 612,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 59,
            "minorType": 281,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 392,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SYSTEM",
            "category": 71,
            "minorType": 990,
            "notify": true,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 60,
            "minorType": 906,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 603,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 51,
            "minorType": 613,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 51,
            "minorType": 614,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 51,
            "minorType": 615,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 251,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 252,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 253,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 254,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 255,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 256,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 257,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 260,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 261,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 262,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 263,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SYSTEM",
            "category": 72,
            "minorType": 275,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 330,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SYSTEM",
            "category": 72,
            "minorType": 422,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SYSTEM",
            "category": 72,
            "minorType": 423,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 69,
            "minorType": 490,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SYSTEM",
            "category": 72,
            "minorType": 494,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 62,
            "minorType": 500,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 51,
            "minorType": 785,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SECURITY",
            "category": 61,
            "minorType": 791,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 796,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 65,
            "minorType": 820,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 69,
            "minorType": 826,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 53,
            "minorType": 269,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SECURITY",
            "category": 62,
            "minorType": 318,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SECURITY",
            "category": 62,
            "minorType": 319,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 499,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 51,
            "minorType": 606,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 265,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 266,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 361,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SECURITY",
            "category": 69,
            "minorType": 831,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 69,
            "minorType": 834,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 498,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 60,
            "minorType": 264,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 299,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 52,
            "minorType": 391,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 323,
            "notify": true,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 51,
            "minorType": 783,
            "notify": true,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 60,
            "minorType": 788,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 59,
            "minorType": 340,
            "notify": true,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 59,
            "minorType": 779,
            "notify": true,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SYSTEM",
            "category": 70,
            "minorType": 450,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SYSTEM",
            "category": 70,
            "minorType": 795,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SYSTEM",
            "category": 72,
            "minorType": 411,
            "notify": true,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SYSTEM",
            "category": 72,
            "minorType": 506,
            "notify": true,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SYSTEM",
            "category": 72,
            "minorType": 507,
            "notify": true,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SYSTEM",
            "category": 72,
            "minorType": 533,
            "notify": true,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 51,
            "minorType": 515,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 59,
            "minorType": 516,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 798,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 799,
            "notify": true,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 65,
            "minorType": 502,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 62,
            "minorType": 534,
            "notify": true,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SYSTEM",
            "category": 71,
            "minorType": 535,
            "notify": true,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 508,
            "notify": true,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 780,
            "notify": true,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 61,
            "minorType": 792,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 991,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 800,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SECURITY",
            "category": 66,
            "minorType": 992,
            "notify": false,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 61,
            "minorType": 517,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SYSTEM",
            "category": 72,
            "minorType": 994,
            "notify": true,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SYSTEM",
            "category": 70,
            "minorType": 997,
            "notify": true,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SYSTEM",
            "category": 72,
            "minorType": 995,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SYSTEM",
            "category": 72,
            "minorType": 996,
            "notify": true,
            "vulnerable": true,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 53,
            "minorType": 537,
            "notify": false,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SECURITY",
            "category": 65,
            "minorType": 989,
            "notify": false,
            "vulnerable": false,
            "displayEvent": false,
            "sendMail": false,
            "severityLevel": "LOW"
        },
        {
            "majorType": "SYSTEM",
            "category": 71,
            "minorType": 999,
            "notify": true,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SYSTEM",
            "category": 71,
            "minorType": 1001,
            "notify": true,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "HIGH"
        },
        {
            "majorType": "SYSTEM",
            "category": 71,
            "minorType": 1007,
            "notify": true,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": false,
            "severityLevel": "MEDIUM"
        },
        {
            "majorType": "SYSTEM",
            "category": 72,
            "minorType": 998,
            "notify": true,
            "vulnerable": false,
            "displayEvent": true,
            "sendMail": true,
            "severityLevel": "HIGH"
        }
    ]
}
API Calls

/V5/policies/eventconfig/{fetch_factory_default}

/V5/policies/eventconfig

<Base_URL>/V2/analytics/associationdata/{startdate}/{enddate}

/V5/policies/eventconfig

/V5/policies/eventconfig

Get Event Configuration Policy

Description This API is used to fetch the Event Configuration Policy at a specified location
from Wireless Manager or Arista Cloud Services.
Users with the roles can call this API: superuser, administrator, operator, and viewer.
Syntax
Get <Base_URL>/policies/eventconfig/{fetch_factory_default}?locationid=<value>&nodeid=<value>

Here,

  • locationid

    It is an integer value specifying the location for which the Event Configuration Policy
    is fetched. To retrieve the value for location id refer Location call.

  • nodeid

    It is an integer value specifying the node in a server cluster setup.

  • fetch_factory_default

    Is a boolean value specifying whether factory default policies will be fetched
    or user-defined policies. If set to true the factory default policies are fetched,
    and if set to false user-defined policies are fetched.

Sample code
Get https://training.mojonetworks.com/new/webservice/V5/policies/
eventconfig/true?locationid=0
Request Body This API call does not require any request body parameters.
Response Body If the API call is successful, the HTTP response status is 200.
The response body contains the details of Event Configuration Policy. The response is in the application/json format.

Customize Event Configuration Policy

Description This API is used to customize the Event Configuration Policy at a specified location in
Wireless Manager or Arista Cloud Services. After calling this API, the policy
can be modified by calling the Event Configuration Policy API at
the specified location.
Users with the roles can call this API: superuser, administrator, operator, and viewer.
Syntax
PUT <Base_URL>/policies/eventconfig?locationid=<value>&nodeid=<value>

Here,

  • locationid

    It is an integer value specifying the location for which the Event Configuration Policy
    is customized. To retrieve the value for location id refer Location call.

  • nodeid

    It is an integer value specifying the node in a server cluster setup.

Sample code
PUT https://training.mojonetworks.com/new/webservice/V5/policies/
eventconfig?locationid=1
Request Body This API call does not require any request body parameters.
Response Body If the API call is successful, the HTTP response status is 204.
The response body does not contain any information.

Put APIs

Description This API is used to fetch the APs that match the specified filter criteria from the allowed locations for the logged-in user. If no filters are specified, all the APs from the allowed locations are fetched. However, this API is not supported in a server cluster environment.

Note: Do not use this API to fetch more than 100 devices. For fetching larger number of devices, consider using the Get Paged List of APs API.

User Privileges Users with the following roles can call this API: superuser, administrator, and operator.

Request Body Parameters
This API call does not require any request body parameters.

Response Body
If the API call is successful, the HTTP response status is 200. The response body contains the details of the APs that match the filter criteria. The response is in the application/json format. Click AP to view the complete detais of the JSON along with a sample output.

Error codes
If the API call is successful, the HTTP response status is 200.

Syntax
GET /devices/aps
Sample code
GET https://training.mojonetworks.com/new/webservice/v2/devices/aps
GET
https://training.mojonetworks.com/new/webservice/v2/devices/aps?macaddress=00:11:74:33:23:12&macaddress=00:11:74:45:12:21
GET
https://training.mojonetworks.com/new/webservice/v2/devices/aps?capability=49&locationid=10&locationid=12&sortcolumn=devicename&sortascending=false
URL Parameters This API call takes optional URL parameters to filter the list of APs to be fetched and the column on which the output must be sorted. AP Filter Parameters lists the parmeter names, datatypes, applicable values, and whether the results can be sorted based on the parameter.
Query Parameters This API call takes optional URL parameters to filter the list of APs to be fetched and the column on which the output must be sorted. AP Filter Parameters lists the parmeter names, datatypes, applicable values, and whether the results can be sorted based on the parameter.
Response Body If the API call is successful, the HTTP response status is 200. The response body contains the details of the APs that match the filter criteria. The response is in the application/json format. Click AP to view the complete detais of the JSON along with a sample output.

Modify Event Configuration Policy

Description This API is used to modify Event Configuration Policy at a specified location
in Wireless Manager or Arista Cloud Services. Before calling this API, the
policy must be customized by calling the Customize Event Configuration Policy
API at the specified location.
Users with the roles can call this API:superuser, administrator, operator, and viewer.
Syntax
POST <Base_URL>/policies/eventconfig?locationid=<value>&nodeid=<value>

Here,

  • locationid

    It is an integer value specifying the location for which the Event Configuration Policy
    is modified. To retrieve the value for location id refer Location call.

  • nodeid

    It is an integer value specifying the node in a server cluster setup.

Sample code
POST https://training.mojonetworks.com/new/webservice/V5/policies/
eventconfig?locationid=2
Request Body This API call takes optional request body parameters.

A sample request will have a structure as follows:

{
...
List of Event Configuration Policy attributes.
...
}
Response Body If the API call is successful, the HTTP response status is 204.
The response body does not contain any information.

Inherit Event Configuration Policy

Description This API is used to inherit Event Configuration Policy at a specified location
from its parent location in the Mojo Server or the Arista Cloud Services. The
Event Configuration Policy, by default, is inherited from the parent location. This
API can be called to inherit the policy from the parent location if the
Customize Event Configuration Policy API was called at a specified
location earlier. On calling this API, the customized Event Configuration Policy is deleted and
the policy defined on the parent location is inherited.
Users with the roles can call this API: superuser, administrator, operator and viewer.
Syntax
DELETE <Base_URL>/policies/eventconfig?locationid=<value>&nodeid=<value>

Here,

  • locationid

    It is an integer value specifying the location for which the Event Configuration Policy
    is inherited. To retrieve the value for location id refer Location call.

  • nodeid

    It is an integer value specifying the node in a server cluster setup.

Sample code
DELETE
https://training.mojonetworks.com/new/webservice/V5/policies/
eventconfig?locationid=2
Request Body This API call does not require any request body parameters.
Response Body If the API call is successful, the HTTP response status is 204.
The response body does not contain any information.