How to discover Pure FlashArray storage devices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2024 06:34 AM - edited ‎02-26-2024 11:27 PM
Hello All,
I am new to Storage discovery. We are trying to discover Pure Flash Array storage devices. Storage team has provided a Management IP and test account with read-only access. I have configured credentials as Basic Auth Credential. We are getting authentication failed error in discovery logs.
Please help me to understand which type of credentials are required?
Which ports should be open for Pure FlashArray discovery?
@Rahul Priyadars @Maik Skoddow
#discovery #itom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2025 09:51 AM
Hello,
thank you for sharing this, but I am getting an error failed to get the auth code, it is trying to get auth code from api/1.17/auth/apitoken.
and on step 4 of pattern, it is written like passhere, userhere. Any changes req, or its a placeholder and put values in runtime from basic creds.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2025 12:59 PM
This update set resolved the same HTTP Classifier issue others pointed out here. Thank you for posting!!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2025 07:17 AM
I've been battling with this pattern this afternoon. Have found how to get it working, but it's not pretty.
First I had to modify the HTTP Classifier to get it to run the pattern:
/nav_to.do?uri=discovery_classy_http.do?sys_id=ae9868eb1b71bd10ea080d02604bcb6f
Strip the 'value' field on the HTTP Classification Matches back to just:
{"version":
Then in the Pure Storage pattern
/nav_to.do?uri=sa_pattern.do?sys_id=e0b65dfa87993190023240c7dabb352a
Click on the 'active' box, then, in the 'Pattern' tab find the below lines:
var user = \"UserHere\";
var pass = \"PassHere\";
replace UserHere with the local username and PassHere with the password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Hi @Kiran Gundap5 ,
As per my Experience the Solution for Pure FlashArray Discovery in ServiceNow will be like this and this might help you.
1. Credential Type Required
For Pure FlashArray, ServiceNow supports discovery using REST API, not just Basic Auth by itself.
* You should use:
HTTP Basic Auth Credential in ServiceNow.
Things to Confirm in the Credential:
Field | Value |
Type | HTTP Basic Auth |
Username | Provided by storage team (must have API access) |
Password | Correct password |
Domain | Leave it blank (unless your array requires domain-based login) |
Enable Use for REST | Check this box |
2. Validate Credential Permissions
The user account must have REST API access enabled on the Pure FlashArray device.
Minimum permissions needed:
* Read-only user role with API access enabled
* It must be part of a group that has visibility to:
* Volumes
* Hosts
* Pods
* Connections
Ask the storage team to validate if:
API access is enabled for the user.
3. Ports That Must Be Open
To allow Discovery to connect via MID Server:
Port | Purpose |
443 | HTTPS REST API communication with the Pure FlashArray |
80 | (Optional) HTTP – in case the array redirects to HTTPS |
Ensure MID Server can reach the Management IP of the Pure device over port 443.
4. Testing Credential
You can test the credential like this:
* Navigate to:
Discovery → Credentials → Credentials
* Open your configured credential
* Click Test Credential
* Enter the IP address of the FlashArray management interface
* Select the MID Server
* Run the test and review the result.
5. Pattern & Class Used
Pure FlashArray discovery uses the following pattern:
* Pattern Name: Pure Storage FlashArray
* CI Class: cmdb_ci_storage_device
Make sure Storage Patterns are active in your instance:
* Go to Discovery → Patterns
* Search for "Pure Storage"
* Activate the pattern if not already.
6. You can try if It Still Fails
* Try accessing the device via browser using:
https://<management_ip>/api/api_version
If you don’t get a login prompt, or get 401 Unauthorized, it means credentials or access level is incorrect.
* Ask storage team to test the same credentials via Postman or curl to validate API access externally.
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.
Thank You
AJ - TechTrek with AJ - ITOM Trainer
LinkedIn:- https://www.linkedin.com/in/ajay-kumar-66a91385/
YouTube:- https://www.youtube.com/@learnitomwithaj
Topmate:- https://topmate.io/aj_techtrekwithaj (Connect for 1-1 Session)
ServiceNow Community MVP 2025