cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
215
Views
0
Helpful
11
Replies

Cisco Catalyst Sandbox Get Notifications Issue

Sameer-Singh
Community Member

Unable to run get Notifications on Cisco Catalyst Sandbox . The rest call fails with 403 error. Can someone give permission?

 

SameerSingh_1-1745562803599.png

SameerSingh_2-1745562805894.png

 

1 Accepted Solution

Accepted Solutions

Hello @Sameer-Singh. We enable READ only for events in the public role for denvetuser. We have modified the security aspect of the profile to facilitate this effort for your testing. Have a go at it and see if it meets your needs. If it doesn not then Reservation based catalyst center with full admin access as Stuart suggested is the way to go.

View solution in original post

11 Replies 11

@Sameer-Singh is this the always on sandbox or reservation? There is limits in the always on version which if you are using this could be your issue.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

@bigevilbeard This is the Always-On Sandbox controller at 131.226.217.152. Are there specific limits on the number of API requests or certain endpoints like /notifications? If so, could you clarify what those limits are? I understand that the Always-On Sandbox may restrict some functionality or throttle requests, so just trying to confirm if that's what's causing the 403 error and how to access the same?

@Sameer-Singh if all your other API calls are working, just based on your 403 error it would appear that the always on creds/role does not have enough access to this using the UI, however when/if you do this via the API using the same creds, i see you can get the information here. I am guessing that in sandbox environments like, the UI might have certain features disabled or restricted while keeping the API fully functional for learning purposes.

If you want to run this in the UI not via the API externally, switch to the reservation based version, which has full admin access, not read only like the always on.

Hope this helps.

 

curl -X GET "https://sandboxdnac2.cisco.com/dna/intent/api/v1/event/event-series" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-Auth-Token: [remmoved]" \
  --insecure | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 18801    0 18801    0     0  21488      0 --:--:-- --:--:-- --:--:-- 21486
[
  {
    "version": "1.0.0",
    "instanceId": "26ac9060-9329-49c5-8585-5c4056a27858",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Issues\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575424273,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"issues\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575424275,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 509,
    "eventSize": 625,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "a8d9335d-8803-417a-ad5e-7f3ace567cbd",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Issues\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575423961,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"issues\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575423962,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 509,
    "eventSize": 625,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "99aeff28-ce63-4653-b5c2-32d4990b465e",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Devices\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575423782,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"device-health\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575423784,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 510,
    "eventSize": 633,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "e5be3368-b078-4705-8211-2a56fb50ef45",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Devices\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575423385,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"device-health\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575423386,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 510,
    "eventSize": 633,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "d8c298f3-381f-404a-aabf-3d54ac5220d3",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Get Site Health\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575422755,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"site-health\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575422757,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 518,
    "eventSize": 639,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "a7a9f600-fbd8-44ee-aa58-3e517bd2ed65",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Get Site Health\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575418418,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"site-health\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575418419,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 518,
    "eventSize": 639,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "0606ef06-1bef-4909-99bd-67cc655fecf7",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": null,
    "name": "LOGIN_USER_EVENT",
    "description": "LOGIN_USER_EVENT: 'devnetuser' logged in successfully.",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "DNA-Event",
    "subDomain": "",
    "severity": 1,
    "source": "10.10.20.28",
    "timestamp": 1745575418217,
    "tags": [],
    "details": {},
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": "19085201-31cd-4393-8fcc-e925ba781d7e",
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": "'devnetuser' logged in successfully.",
    "messageParams": null,
    "additionalDetails": {},
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575418220,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 489,
    "eventSize": 489,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "7f64b4c2-bd72-42e1-b634-b39303cbaaf2",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Get Overall Client Health\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575410360,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"client-health\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575410362,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 528,
    "eventSize": 651,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "8787e087-255d-452b-b983-d842f59747c3",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Get Overall Client Health\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575409006,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"client-health\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575409007,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 528,
    "eventSize": 651,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "5c5f19c1-c95d-4a9b-894d-a57fe7544627",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Get Overall Client Health\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575408900,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"client-health\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575408902,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 528,
    "eventSize": 651,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "2a907c3c-5dfa-46ba-b4ef-2573ed56217f",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Get Overall Network Health\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575408803,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"network-health\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575408805,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 529,
    "eventSize": 653,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "132f2374-7a60-4fdd-9fbc-0e11a073bdd8",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": null,
    "name": "LOGIN_USER_EVENT",
    "description": "LOGIN_USER_EVENT: 'devnetuser' logged in successfully.",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "DNA-Event",
    "subDomain": "",
    "severity": 1,
    "source": "10.10.20.28",
    "timestamp": 1745575408125,
    "tags": [],
    "details": {},
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": "7292e907-ec42-4c3c-8e8d-3634c10eb74f",
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": "'devnetuser' logged in successfully.",
    "messageParams": null,
    "additionalDetails": {},
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575408129,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 489,
    "eventSize": 489,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "2eebe845-2711-44de-9459-fd68040b9506",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Get Overall Network Health\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575406333,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"network-health\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575406334,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 529,
    "eventSize": 653,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "095074bf-728c-4f58-8da2-c099ef180f38",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Get Overall Network Health\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575406323,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"network-health\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575406324,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 529,
    "eventSize": 653,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "9ebeacca-0295-4334-9d4a-7b3958d03864",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": null,
    "name": "LOGIN_USER_EVENT",
    "description": "LOGIN_USER_EVENT: 'devnetuser' logged in successfully.",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "DNA-Event",
    "subDomain": "",
    "severity": 1,
    "source": "10.10.20.28",
    "timestamp": 1745575405296,
    "tags": [],
    "details": {},
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": "45311f9b-db83-405f-8a13-87dfbd9d2db0",
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": "'devnetuser' logged in successfully.",
    "messageParams": null,
    "additionalDetails": {},
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575405299,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 489,
    "eventSize": 489,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "006028d5-a533-403d-a58a-2784fe75caf6",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": null,
    "name": "LOGIN_USER_EVENT",
    "description": "LOGIN_USER_EVENT: 'devnetuser' logged in successfully.",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "DNA-Event",
    "subDomain": "",
    "severity": 1,
    "source": "10.10.20.28",
    "timestamp": 1745575405295,
    "tags": [],
    "details": {},
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": "f2070fda-7bfc-4093-84e3-aa82954e1fc6",
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": "'devnetuser' logged in successfully.",
    "messageParams": null,
    "additionalDetails": {},
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575405299,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 489,
    "eventSize": 489,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "fba5b33f-b8c2-4271-bd33-0af6541b636e",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Get Overall Client Health\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575350300,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"client-health\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575350302,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 528,
    "eventSize": 651,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "21619641-d63d-43a8-9b8c-fcbe8a5a61a0",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Get Overall Network Health\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575348795,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"network-health\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575348796,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 529,
    "eventSize": 653,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "5d74c15e-1d77-49ce-91cd-9f72b8e9dbba",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Get Overall Client Health\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575348686,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"client-health\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575348688,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 528,
    "eventSize": 651,
    "childCount": 0,
    "tenantId": "SYS0"
  },
  {
    "version": "1.0.0",
    "instanceId": "ed3c5fd1-104c-4ca6-9a73-616049a2580c",
    "eventId": "AUDIT_LOG_EVENT",
    "namespace": "AUDIT_LOG",
    "name": "AUDIT_LOG",
    "description": "Intent API \"Get Overall Client Health\" Executed",
    "type": "AUDIT_LOG",
    "category": "INFO",
    "domain": "Programmability",
    "subDomain": "APIs and Integrations",
    "severity": 1,
    "source": "10.10.20.85",
    "timestamp": 1745575348649,
    "tags": [],
    "details": {
      "requestPayload": "The request to execute BAPI with technical name \"client-health\" and rest method \"GET\" was received"
    },
    "ciscoDnaEventLink": null,
    "note": null,
    "tntId": "623f029857259506a56ad9bd",
    "context": null,
    "userId": "devnetuser",
    "i18n": null,
    "eventHierarchy": null,
    "message": null,
    "messageParams": null,
    "additionalDetails": {
      "eventMetadata": {
        "auditLogMetadata": {
          "type": "API",
          "version": "1.0.0"
        }
      }
    },
    "parentInstanceId": null,
    "network": null,
    "isSimulated": false,
    "startTime": 1745575348651,
    "isPrivateEvent": true,
    "dnacIP": null,
    "payloadSize": 528,
    "eventSize": 651,
    "childCount": 0,
    "tenantId": "SYS0"
  }
]

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

@bigevilbeard I am trying to access the rest call via API from an external application , The above API used to work and it suddenly stopped working, to check the behavior i tried using UI which was throwing the same 403 error as the external Application. 
131.226.217.152 --> Throws 403 error 

131.226.217.136--> Request times out.
I see you posted the response from the 131.226.217.136 Server . Are you able to get the same event output from the 131.226.217.152 server?

@Sameer-Singh there is a slight different on that output for the other sandbox.

❯ curl -X GET "https://sandboxdnac.cisco.com/dna/intent/api/v1/event/event-series" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-Auth-Token: [removed]" \
  --insecure
{"message":"Role does not have valid permissions to access the API"}%
Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

@bigevilbeard Exactly the same error I am receiving . What is the difference between both the sandboxes? The above API call used to work like a week back . Now it is returning with 403 error . Can some configuration be updated on the error sandbox to give the permission , which was working like a week back?

please make a reservation on the reservation based catalyst center sandbox to continue your work. the role of the user was updated due to security concerns recently. 

@Sameer-Singh i do not know, i would take the advise @ecorban has given above, you can take his word to the bank!

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Hello @Sameer-Singh. We enable READ only for events in the public role for denvetuser. We have modified the security aspect of the profile to facilitate this effort for your testing. Have a go at it and see if it meets your needs. If it doesn not then Reservation based catalyst center with full admin access as Stuart suggested is the way to go.

Thank you @ecorban  . This is working !! This will unblock my testing . 

ecorban
Cisco Employee
Cisco Employee

Sameer

The public role for the AO catalyst center sandbox restricts users to an READ access for most API calls. I would advise if your not seeing your required response to check the reserved catalyst center sandbox. For example please see screenshot of an api call for both AO sandboxdnac offerings.