DX NetOps

  • 1.  Policy Managing Security Strings

    Posted Jul 28, 2017 04:07 AM

    Another day, another question.

     

    So I am making some major strides in improving our Spectrum Infrastructure and administration, but there has been some moments when I've had to hack together solutions.

     

    So I am currently in the process of creating User groups which correspond to specific services in the company (Security, Supervision) which require different privileges and roles and then I decided to create Hidden Global Collections to which I can apply policies to change Security Strings and other attributes.

     

    However it occurred to me this morning that if a device falls into two different global collections with conflicting policies (for example change security string to Security and change Security string to Supervision) I will create a loop or some kind of problem.

     

    What's the best way to manage user groups/security strings/policies ? I have read through the documentation already and can't find anything that seems to work the way we would like.

    How do you dynamically add devices to GC's, change security strings and apply policies?

     

    Thanks



  • 2.  Re: Policy Managing Security Strings

    Broadcom Employee
    Posted Aug 01, 2017 06:27 AM

    Hi Peter,

     

    As there has been no feedback yet, let me see if I can answer this to your satisfaction from a Support perspective.

     

    From your original question:

     

    How do you dynamically add devices to GC's, change security strings and apply policies?

     

    This is really a three part question so I will answer it in three parts.

     

    1.  How do you dynamically add devices to GC's?

     

    This is done by using Global Collection Search Options when the Global Collection is created.  There is an optional option to add a Security String to a Global Collection, but this is to allow access to the Global Collection.

    On my Spectrum 10.2 lab server, I created a Dynamic Global Collection and assigned a Security String of TEST.

    I created a user and gave that user the Security Community of TEST, I was able to access the Global Collection and see in the topology models that I did not have access to, but if I clicked on any model, I was unable to see any information.

    If you add a security string for Global Collection access, you will need to make sure that user has access to view the models that are inside the Global Collection.

     

    2. How do you change security strings ?

     

    Security strings cannot be changed and are rolled down from the top level container to all of the child models.

    In practice its probably a good idea to add a security string to the Universe model, that way you can restrict access to users by only allowing them to see Global Collections and by changing their initial OneClick view from Universe to a particular Global Collection.

    You can however customize Security Strings to add new relations for the rolldown.

     

    How to Customize Security String Inheritance - CA Spectrum - 10.2 and 10.2.1 - CA Technologies Documentation 

     

     

    Also we have seen in support that if there are models that contain VLAN relation models.

     

    If a device is contained in multiple parent containers then the resultant security string of the device is a join of security strings of all the parents. When joining the security strings of two models for a security string roll down, the AND operator is used by default (unless the model type on the right side of the association has a predefined override).

     

    In multi-tenant environments, when a device has vLan parent along with other parent LAN containers then users sometimes feel that the security string of the LAN container is not correctly rolling down to the device. But, vLan being virtual and not present in device navigation tree makes users feel that the security string is incorrectly rolling down although it works correctly. To avoid this confusion, user can change the default spectrum behavior by creating a security string roll down override in the Model Type Editor as explained below.

     

    Troubleshooting vLan Security String roll-down - CA Spectrum - 10.1 to 10.1.2 - CA Technologies Documentation 

     

     

    3. How do you apply policies?

     

    Policies are applied to Global Collections via rules.  The rules order will decide the priority if there are conflicting rule sets.


    There are also a few restrictions in creating Policies.

     

    You cannot include the same attribute in more than one policy, regardless of whether the policy is enabled.

    • Rules that apply to the same global collection cannot use the same setting target. One rule can apply to multiple global collections, but two different rules using the same setting target cannot apply to the same global collection.

    These restrictions are in place to help prevent conflicts in your policy definitions.

     

    Creating Policies - CA Spectrum - 10.1 to 10.1.2 - CA Technologies Documentation 

     

     

    Best regards,

    Glenn