<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[ProGet]  Feature Request&#x2F;Inquiry: Create &#x27;Package Policies&#x27; through PGUtil &#x2F; API]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I'm working on automating the setup of new "workspaces" in ProGet whenever my organization onboards a new product/project.</p>
<p dir="auto">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.</p>
<p dir="auto">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?</p>
<p dir="auto">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.</p>
<p dir="auto">Example:</p>
<pre><code class="language-bash">pgutil security policy create \
--Name="New Policy" \
--Priority=&lt;'Default' | 'Before Global' | 'After Feed'&gt; \
--Feeds="nuget-feed, maven-feed, npm-feed" \
--RiskProfile='{ \
    "Exposure" : "&lt;External | Internal&gt;", \
    "Interface": "&lt;Web Browser | Unspecified&gt;", \
    "Outage"   : "&lt;Unacceptable | Disruptive | Tolerable&gt;", \
    "Breach"   : "&lt;Unacceptable | Disruptive | Tolerable&gt;", \
    "Tampering": "&lt;Unacceptable | Disruptive | Tolerable&gt;" \
}'
</code></pre>
<p dir="auto">Best regards,<br />
Nils Nilsson</p>
]]></description><link>https://forums.inedo.com/topic/5811/proget-feature-request-inquiry-create-package-policies-through-pgutil-api</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 09:15:35 GMT</lastBuildDate><atom:link href="https://forums.inedo.com/topic/5811.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Aug 2026 07:37:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [ProGet]  Feature Request&#x2F;Inquiry: Create &#x27;Package Policies&#x27; through PGUtil &#x2F; API on Mon, 10 Aug 2026 05:46:33 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/dean-houston" aria-label="Profile: dean-houston">@<bdi>dean-houston</bdi></a> .</p>
<p dir="auto">Thank you for your response, it makes sense that you wouldn't prioritize this, as I assume my organization is quite an outlier where we need to have one policy for every application that utilizes ProGet.</p>
<p dir="auto">Best Regards<br />
Nils Nilsson</p>
]]></description><link>https://forums.inedo.com/post/19932</link><guid isPermaLink="true">https://forums.inedo.com/post/19932</guid><dc:creator><![CDATA[Nils Nilsson]]></dc:creator><pubDate>Mon, 10 Aug 2026 05:46:33 GMT</pubDate></item><item><title><![CDATA[Reply to [ProGet]  Feature Request&#x2F;Inquiry: Create &#x27;Package Policies&#x27; through PGUtil &#x2F; API on Fri, 07 Aug 2026 18:53:19 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/nils-nilsson" aria-label="Profile: Nils-Nilsson">@<bdi>Nils-Nilsson</bdi></a> ,</p>
<p dir="auto">Thanks for the feature request; this is not currently on our roadmap.</p>
<p dir="auto">As you might imagine, it would be a substantial undertaking to develop commands/endpoints for policy management and maintain those through new versions. Given how these will hardly change on an instance of ProGet (most users will have a handful of policies at most), we don't feel the costs bring enough benefit to users.</p>
<p dir="auto">It's also worth noting -- SCA/Policies are still relatively new in ProGet (and the industry as a whole), so there are a lot of opportunities to improve them. We'd rather invest in that then making them API-editable (which, would make the more complex to change later as well).</p>
<p dir="auto">Note that it's possible to do through the <code>Policies_*</code> endpoints and stored procedures should you really need to.</p>
<p dir="auto">-- Dean</p>
]]></description><link>https://forums.inedo.com/post/19922</link><guid isPermaLink="true">https://forums.inedo.com/post/19922</guid><dc:creator><![CDATA[dean-houston]]></dc:creator><pubDate>Fri, 07 Aug 2026 18:53:19 GMT</pubDate></item></channel></rss>