Skip to main content
Solved

Custom Manager for custom integration

  • March 17, 2025
  • 2 replies
  • 17 views

vanitharaj1208
Forum|alt.badge.img+14

How to develop/ best practice that i need to follow while building a managers and can anyone provide sample code 

how it interacts with actions? 

Best answer by SoarAndy

Managers are an optional scalable way to share code across all Actions.  E.g. authentication, and error handling are generic to the integration as a whole, not just the single Action you are writing. If you intend to write only 1 Action you might not need a Manager, but if you write 2+ then a manager is advised. 

If you read other integration packs you will see that usage of Managers varies depending on the author, and you will see in larger integrations (e.g. SNOW, Google, Microsoft, AWS) what a good Manager structure looks like for maximum scalability.

2 replies

mikewilusz
Staff
Forum|alt.badge.img+10
  • Staff
  • March 17, 2025

I built a custom manager as part of one of my custom integrations. You can see the code here: https://github.com/pilot006/google-secops-unofficial-api-collectors

-mike


SoarAndy
Staff
Forum|alt.badge.img+12
  • Staff
  • Answer
  • March 21, 2025

Managers are an optional scalable way to share code across all Actions.  E.g. authentication, and error handling are generic to the integration as a whole, not just the single Action you are writing. If you intend to write only 1 Action you might not need a Manager, but if you write 2+ then a manager is advised. 

If you read other integration packs you will see that usage of Managers varies depending on the author, and you will see in larger integrations (e.g. SNOW, Google, Microsoft, AWS) what a good Manager structure looks like for maximum scalability.