AWS CloudWatch Event Connector

Deepa Biyani2
Tera Contributor

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?

4 REPLIES 4

AJ-TechTrek
Giga Sage
Giga Sage

Hi @Deepa Biyani2 ,

 

it should support the OAuth authentication, Refer the below docs, Might help.

 

https://aws.amazon.com/blogs/mt/create-servicenow-incidents-for-amazon-cloudwatch-alarms-using-aws-s...

 

https://docs.servicenow.com/bundle/washingtondc-application-development/page/build/custom-applicatio...

 

https://aws.amazon.com/blogs/mt/how-to-automatically-create-an-incident-in-servicenow-from-an-amazon...

 

https://docs.servicenow.com/bundle/vancouver-it-operations-management/page/product/event-management/...

 

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/

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.

Hi @Deepa Biyani2 

 

Refer below AWS Documentations, Might help.

 

Also it should support the Oauth Authentication, Please once configuring the same.

 

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-oaut...

 

https://docs.servicenow.com/ko-KR/bundle/sandiego-it-service-management/page/product/event-managemen...

 

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/

Hitesh Patel1
Tera Contributor

Documenting this for anyone who may arrive at this post and want to get a solution:

 

  1. 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
  2. Navigate to Event Management > Integrations > Push Connector Instance
  3. Create a new connector instance by providing the following details
    1. Name: Your desired name
    2. Push Connector Definition: AWS Events Transform Script (OOB script should suffice)
    3. Active: true (very important)
    4. 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