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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0, 0.6.2
    • Component/s: plugins
    • Labels:
      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

            • Assignee:
              abhayk Abhay Kulkarni
              Reporter:
              madhan.neethiraj Madhan Neethiraj
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: