Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Can Containment Rules parse configuration files (e.g., nginx.conf) to create dependencies?

s-higurashi
Tera Contributor

Hi Community,

I have a specific question regarding the capabilities of Containment Rules. I referred to the documentation here: [Link: https://www.servicenow.com/docs/bundle/zurich-servicenow-platform/page/product/configuration-managem...]

The documentation uses .war files as an example for defining containment relationships. My main question is: Is it possible to configure a Containment Rule to read/parse a standard text-based configuration file (not an archive like WAR) to establish a relationship?

Specific Use Case: I want to extract the upstream host defined in Nginx's proxy_pass directive (inside nginx.conf) and map it on the Dependency Views map.

I am trying to determine if Containment Rules are capable of handling this level of file parsing and relationship creation. If this is out of scope for Containment Rules, should I look into customizing the "NGINX Web Server" discovery pattern instead?

Any insights on the limitations of Containment Rules would be appreciated.

Thanks.

0 REPLIES 0