INFOBLOX & RAPID7 NEXPOSE INTEGRATION - SESSION, LOGIN & LOGOUT TEMPLATES
Hi there,
In this post I’m going to review session, login and logout templates. Do not copy/past templates from the post, they may not work. Download templates attached to this post. The templates are provided “as-is”, please check them in you Lab environment and modify for your needs before implementing them in production.
Session template does not require a detailed description. All parameters are described in the NIOS administrator guide
Template | Comments |
---|---|
{ |
Version must be set to “2.0” |
"login_template": "Rapid7_Login", |
Login_template, Logout_template must contains exact template names (defined in a template itself, it is not a file name) |
"logout_only_at_template_end": true, |
“Step_execution_limit” defines maximum loop iteration. If you system has more than 100 sites or more 100 “real” assets per site increase this number up to a desired value (it is required only for delete operation). |
Rapid7_Login template is used for authentication because Rapid7 Nexpose doesn’t support basic authentication.
Template | Comments |
---|---|
{ |
“version” must be set to “2.0” “event_type” should be set to [“Session”] XMLA quoting is used by default. |
"steps": [ |
Rapid7 Nexpose does not allow to login if basic authorisation headers contains correct credentials, so set the header variable H:Authorization to empty value |
{ |
Authenticate on Rapid7 Nexpose using LoginRequest method |
{ |
Check that the authentication was successful and copy the session id to S: SESSID variable. S: SESSID should be used in all API requests send to Rapid7 Nexpose. |
Rapid7_Logout template is used to terminate a session
Template | Comments |
---|---|
{ |
“version” must be set to “2.0” “event_type” should be set to [“Session”] XMLA quoting will be used by default. |
"steps": [ |
Send a LogoutRequest. S: SESSID is used to identify a session. Response is analysed for errors. |
Any feedback and/or questions are appreciated and very welcome.
BR,
Vadim Pavlov
Categories
- All Categories
- 5.1K Forums
- 4.6K Critical Network Services
- 463 Security
- Visibility and Insights
- Ideas Portal
- Webinars & Events
- 266 Resources
- 266 News & Announcements
- Knowledge Base Articles
- Infoblox Documentation Portal
- Infoblox Blog
- Support Portal
- 4 Members Hub
- 4 Getting Started with Community
- Community Support