Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1145

Policy engine optimization: convert wildcard matches into prefix and suffix match

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0, 0.6.2
    • plugins
    • None

    Description

      Ranger policies support resource values with wildcards - like test*, .txt, /finance/. For values that have wildcards at the beginning or at the end, which is likely to be most common, the match can be converted into endsWith() or startsWith() - which will be more efficient than doing a wildcard match.

      Attachments

        Activity

          People

            abhayk Abhay Kulkarni
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: