AWS CloudWatch Event Connector
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2024 07:24 PM
I want to integrate AWS CloudWatch alarms with ServiceNow Event management and want to use the OOB AWS push connector for that. However, I am not very sure of the authentication method supported by this integration. Does it support OAuth or only basic or both? Can someone please provide some guidance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 08:20 AM
Hi @Deepa Biyani2 ,
it should support the OAuth authentication, Refer the below docs, Might help.
Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
Thanks
AJ
Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 06:04 PM
Hello Ajay,
Thank you your response. However, these link either talk about creating an Incident directly from AWS event or are custom integration. I wanted to understand if OOB AWS event connector (push connector) supports OAuth. ServiceNow documentation for AWS CloudWatch Event connector (https://docs.servicenow.com/bundle/vancouver-it-operations-management/page/product/event-management/...) does not provide clarity on authentication method supported.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 08:04 PM
Refer below AWS Documentations, Might help.
Also it should support the Oauth Authentication, Please once configuring the same.
Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
Thanks
AJ
Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-16-2024 06:16 AM - edited ‎09-16-2024 06:25 AM
Documenting this for anyone who may arrive at this post and want to get a solution:
- Create a local user in ServiceNow, set the password (ensure there is no @ character in the password) and grant the user "evt_mgmt_integration" role
- Navigate to Event Management > Integrations > Push Connector Instance
- Create a new connector instance by providing the following details
- Name: Your desired name
- Push Connector Definition: AWS Events Transform Script (OOB script should suffice)
- Active: true (very important)
- Note the URL as that is what you will have to share with the AWS team
As for the authentication, it will follow basic authentication where the username and password are embedded in the URL. Once these are added to AWS, it will be encrypted for security reasons.
Prepare the URL in the following format:
https://{username}:{password}@<instance_name>.service-now.com/api/sn_em_connector/em/inbound_event?source=aws&sys_id=<sys_id_of_connector_instance>
Share the above URL with your AWS team to add as an HTTP subscriber for AWS Cloud Watch alarm topic (with Raw message delivery flag unchecked. Once it is added, this URL subscription will be automatically confirmed via ServiceNow.
Once everything has been configured, you should see the events flowing in ServiceNow event table with source as "AWS CloudWatch".
Hope this helps someone.
Regards,
Hitesh Patel