Forum Discussion
ASM - confusion about Wildcard, Selective, All Entities
Selective mode is one of the three learning schemes you can configure to build a security policy. The other two are Never (Wildcard Only) and Add All Entities. The idea is to balance the amount of work you will need to do as an admin, especially if you are building a policy manually, with the level of security you want for a specific entity (think file type, parameter, URL). Selective mode offers intermediate protection between Never (Wildcard Only) and Add All Entities. If you use Never (Wildcard Only) you will never see a learning suggestion to add an entity to the policy by name--in other words, explicitly. If you use Add All Entities, you will see a suggestion to add an entity by name. So let's use a parameter named "2funky" as an example. By design, let's say it has a maximum byte length of 130 byte (maybe it is part of search field or some other user input element). 130 bytes is an attribute of that explicit parameter. The security policy will automatically assign attributes to the wildcard parameter as well, let's say it's 124 bytes. Let's say that all the other parameters in the app have a maximum byte length of 50 bytes or less. When a request is made for 2funky, Selective mode will suggest the addition of 2funky explicitly by name to the policy because its attributes are higher than the attribute values specified in the wildcard. This provides you with flexibility to expand a policy if there are irregular entities that need precise protection. In other words, Selective mode is suitable for applications containing entities which use similar or identical attributes--remember we said that all the other parameters are 50 bytes or less. But if some the entities need special handling, the policy can be expanded to include explicit entities just for those special cases. You can always bump up the values specified in the wildcard as well...
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com