code: def auth_list():
      '''
      List all available authorization
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' rbac.auth_list
      '''
      auths = {}
  
      ## read auth_attr file (name:res1:res2:short_desc:long_desc:attr)
      with salt.utils.files.fopen('/etc/security/auth_attr', 'r') as auth_attr:
          for auth in auth_attr:
              auth = salt.utils.stringutils.to_unicode(auth)
              auth = auth.split(':')
  
              # skip comments and non complaint lines
              if len(auth) != 6:
                  continue
  
              # add auth info to dict
              if auth[0][-1:] == '.':
                  auth[0] = '{0}*'.format(auth[0])
              auths[auth[0]] = auth[3]
  
      return authf auth_list():
      '''
      List all available authorization
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' rbac.auth_list
      '''
      auths = {}
  
      ## read auth_attr file (name:res1:res2:short_desc:long_desc:attr)
      with salt.utils.files.fopen('/etc/security/auth_attr', 'r') as auth_attr:
          for auth in auth_attr:
              auth = salt.utils.stringutils.to_unicode(auth)
              auth = auth.split(':')
  
              # skip comments and non complaint lines
              if len(auth) != 6:
                  continue
  
              # add auth info to dict
              if auth[0][-1:] == '.':
                  auth[0] = '{0}*'.format(auth[0])
              auths[auth[0]] = auth[3]
  
      return auths
docs: List all available authorization
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' rbac.auth_list