Access & Roles Flashcards
What is Authentication?
- Demonstration that you are who you say you are
- The user must prove his/her identity to the server by providing a username and password
What is Authorization?
- Now that the user is trusted, this determines what you can do as a result
- Server determines if a client has access to utilize a resource or perform a specific job/task
What are Authentication Methods available in Splunk?
- Native Splunk Accounts
- LDAP
- SAML
- Scripted Authentication
If there are SSO or SAML problems, if they are configured, how do login?
Add to the login URI:
?login_type=splunk
Where are Splunk’s internal Authentication placed?
$SPLUNK_HOME/etc/passwd
What Authentication method always takes precedence when multiple methods are configured?
Splunk “internal”
What is the most common authentication method?
LDAP with AD
In LDAP, what is a DC?
Domain Component
ex. dc=splunk, dc=com
In LDAP, what is a OU?
Organizational Unit
ex. ou=people, dc=splunk, dc=com
In LDAP, what is a CN?
Common Name
ex.cn: Peter Gibbons
What can you ask for from a system administrator to help with configuring Splunk with LDAP?
LDAP Data Interchange Format(LDIF)
This will allow you to review all of the attribute/value pairs associated with each and more identify things such as the “Base DN for users” and the “Base DN for groups”
How does authorization work in Splunk?
- In order for a user to login they must have a User Account and A ROLE assigned.
- Cannot assign Access/Capabilities to a user. They must be assigned to Roles.
- Roles can only Assign Capabilites, Not Remove them.
- Rest API Data Access Query
https: //host:port/services/authorization/roles/admin - To faithfully restrict access to data it must be in its own index, and restricted from there. Search time obfuscation can be subverted
- Create separate indexes for data with diffferent classifications, and User access levels
- Default User Role has access to all Non-Internal indexes
Can Splunk use multiple LDAP servers?
Yes, and as soon as Splunk locates a user on the server, it stops searching.
Search order is determined by the Connection order field..
If the user also has credentials on a server later in the search order, those credentials are ignored.
What are some LDAP tools to help you?
GUI Apps:
- Apache Directory Studio
- Softerra LDAP Vrowser
- ASDI Edit
Linux CLI:
-ldapsearch
If SSO is configured, which does Splunk handle, Authentication or Authorization?
Authorization