add assets under access policy

Dears,

I need to add a large number of assets under access policies

I find: 

POST /v3/AccessPolicies/{id}/ScopeItems/{operation}

 

 

I also checked ps script but didn't find anything: 

https://github.com/OneIdentity/safeguard-ps#policy-assets-and-policy-accounts-for-use-in-entitlements--access-policies

Thanks

Kind regards

Federico

  • HI Federico,

    You can use the Safeguard Desktop Client where you can create an Asset Group then add the Assets to that group either by selecting the ones desired or dynamically using a specific criteria then under the Access Request Policy > Scope option > you can add the Asset group. Does that accomplish what you need?

    For more details on Asset Groups, here is a link on this topic from the Administrator's guide:

    support.oneidentity.com/.../44

    Thanks!

  • Hi Tawfiq,

    Thanks a lot for your answer.

    I thought about that but I don't have rules to select machines, I have .txt or .csv

    create a static group and with ps add asset:

    Edit-SafeguardAssetGroup test_group_normal add asset,asset2,asset3

    and assign the correct access policy

    kind regards

    Federico