Analyzer::Php::SymfonySecurity
Symfony security: config (config/packages/security.yaml, or
app/config/security.yml before Flex): which firewall a request lands in
and the access_control rule that then decides who may call it.
Symfony's semantics, read here:
- the first firewall whose
patternmatches the path handles the request;security: false(or no matching firewall) means no access control runs; - the first
access_controlrule whosepath(andmethods) matches decides; its roles are alternatives, andPUBLIC_ACCESS/IS_AUTHENTICATED_ANONYMOUSLY(or no roles at all) let anyone through. A firewall or rule that also conditions on host, IP, port,allow_ifor a request matcher cannot be decided statically, so the answer is "unknown".
Constants
CONDITIONS = ["host", "ip", "ips", "port", "allow_if", "request_matcher", "attributes", "route"] of ::String