Snyk/policies
@webframp/snyk/policiesv2026.07.19.1
01README
Snyk Policies — security policy management and rule configuration
02Release Notes
2026.07.19.1
Added: Initial code-generated release of @webframp/snyk/policies with 6 methods covering the Snyk policies API surface.
03Models
@webframp/snyk/policiesv2026.07.19.1snyk/policies.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| apiToken | string | Snyk API token |
| orgId | string | Snyk organization ID |
| version | string | Snyk API version date |
fn get_org_policies(search?: string, order_by?: enum, order_direction?: enum, review?: string, expires_before?: string, expires_after?: string, expires_never?: boolean)
Get org-level policies
| Argument | Type | Description |
|---|---|---|
| search? | string | Search keyword for searching fields ignored_by.name, ignored_by.email, ignore... |
| order_by? | enum | The column name to sort on |
| order_direction? | enum | Sorting direction ASC/DESC |
| review? | string | Policy rule review state e.g. approved |
| expires_before? | string | Select only policies with an expiry strictly before the given time. |
| expires_after? | string | Select only policies with an expiry strictly past the given time. |
| expires_never? | boolean | Select only policies that never expire. |
fn create_org_policy(data: object)
Create a new org-level policy
| Argument | Type | Description |
|---|---|---|
| data | object |
fn get_org_policy(policy_id: string)
Get an org-level policy
| Argument | Type | Description |
|---|---|---|
| policy_id | string | Policy ID |
fn update_org_policy(policy_id: string, data: object)
Update an org-level policy
| Argument | Type | Description |
|---|---|---|
| policy_id | string | Policy ID |
| data | object |
fn delete_org_policy(policy_id: string)
Delete an org-level policy
| Argument | Type | Description |
|---|---|---|
| policy_id | string | Policy ID |
fn get_org_policy_events(policy_id: string)
List org policy events (Early Access)
| Argument | Type | Description |
|---|---|---|
| policy_id | string | Policy ID |
Resources
get_org_policies(infinite)— Get org-level policies
org_policy(infinite)— Create a new org-level policy
get_org_policy_events(infinite)— List org policy events (Early Access)
04Stats
A
100 / 100
Downloads
0
Archive size
7.7 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels