12-07-2016 01:16 AM
Hi we have used minemeld for some monthes and i figured out that i want to tighten the security even more.
The question that then arose was the posibility to generate an api key or an user based authentication for my output indicators
I don't know or think it matters but we run minemeld in two datacenters with mirroring and global loadbalancing.
The servers are placed in one of our DMZ Zones.
We have agents on our internal network that pulls the feeds from ether node x or y in DMZ (active active)
And it is this string i want to have tighter security on.
Feed map if it matters
Solved! Go to Solution.
12-07-2016 04:16 AM - edited 02-10-2017 12:12 AM
as usual documentation is lagging, but you can enable authentication on feeds following this procedure
IMPORTANT: after step 1 all the feeds will become unreachable as authentication will be enabled but no user/tag is defined.
1 - create an API config file in /opt/minemeld/local/config/api/ with FEEDS_AUTH_ENABLED set to True:
$ sudo -u minemeld sh -c 'echo "FEEDS_AUTH_ENABLED: True" > /opt/minemeld/local/config/api/30-feeds-auth.yml'
2 - on the WebUI in the ADMIN > FEEDS USERS section add a user with username, password and some tags in the ACCESS section. Tags will be used to determine which feeds this user will have access to:
3 - In NODES select one of the output nodes and click on tags to access tags to the feed:
NOTES ON ACCESS TAGS
01-24-2017 01:15 PM
How feed users would authenticate is not covered by this explanation. Based on browser development tools I see some cookies for my admin authenticated session which grants me access to the feeds. But if I open new browser I of course get "Unauthorized". I can copy the cookies from my browser sessions for a curl or wget, but I need a permanent access key. What authentication mechanism/process is being used for feed admins?
01-24-2017 01:36 PM
So with curl, basic auth is the default:
curl https://<hostname>/feeds/<feed_url> -u <username>
(enter password via prompt, or append password to username with colon <username:password>
09-29-2017 08:08 AM
I'm hoping someone can help me with implementing basic auth for a feed for use with EDL object on my firewall.
I've successfully configured authentication on my Minemeld deployment for the feed and added a user and password as well as the necessary tags to restrict access to the feed. I've also tested feed authentication using curl so I know the Minemeld part is good to go.
Now the firewall configuration only has Server Authentication as an option to configure and this is based on a certificate profile. I've seen other configuration screenshoots that also have a Client Authentication option (Panorama?) but I want to use the basic auth on the firewall. Is this not possible?
I'm missing something, but I'm not sure what. Any assistance would be greatly appreciated.
09-29-2017 08:16 AM
@tajman : The configuration workflow depends on the PANOS release.
For PANOS 8.0 you must create a a new Certificate Profile. A WebUI form in the EDL dialog will allow you to specify the user and password once you chose the Certificate Profile (steps 9 and 10 of documentation)
For PANOS 7.1 and before you must use the hxxps:\\user:password@host URL syntax for the EDL
02-13-2018 11:57 AM - edited 02-14-2018 08:23 AM
Don't know, where i am wrong. I am using firewall issued certificate used on minemeld server. Authentication piece doesn't seem to work, I am using anonymous tag for production but i want to use authentication and eliminate all the warnings. I have feed authentication enabled using command mentioned earlier and a user created with a tag specified, this tag is used in one of the output feeds.
I have tried using both, the root cert(PA) and the cert generated using root(MINEMELD). Result is always blank
02-13-2018 01:21 PM
@raji_toor, does the host header in the URL (PANOS EDL configuration) matches the Common Name in the MineMeld certificate? That could explain why it doesn't work.
Details in PANOS 'less mp-log ms.log' during the EDL refresh might provide troubleshooting info.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!