Hi!
I'm working on automating the setup of new "workspaces" in ProGet whenever my organization onboards a new product/project.
I've been reading the documentation for a way to create a new Package Policy without the use of Web GUI actions, but turned up empty handed.
Is there a already way that I haven't found? If not, is that something you'd be willing to add to your backlog to implement?
If it is something you would consider implementing, my request is that you can set the Risk Profile during creation, in addition to the three fields available when creating in the Web Gui.
Example:
pgutil security policy create \
--Name="New Policy" \
--Priority=<'Default' | 'Before Global' | 'After Feed'> \
--Feeds="nuget-feed, maven-feed, npm-feed" \
--RiskProfile='{ \
"Exposure" : "<External | Internal>", \
"Interface": "<Web Browser | Unspecified>", \
"Outage" : "<Unacceptable | Disruptive | Tolerable>", \
"Breach" : "<Unacceptable | Disruptive | Tolerable>", \
"Tampering": "<Unacceptable | Disruptive | Tolerable>" \
}'
Best regards,
Nils Nilsson