Socket · Arazzo Workflow

Socket Review and Update Org Security Policy

Version 1.0.0

Read the organization's current security policy, then write back an updated default level and rule set.

1 workflow 1 source API 1 provider
View Spec View on GitHub Supply Chain SecurityOpen Source SecuritySoftware Composition AnalysisSCAMalware DetectionDependency ScanningSBOMnpmPyPIGoMavenCargoNuGetRubyGemsDeveloper SecurityArazzoWorkflows

Provider

socket-dev

Workflows

review-update-security-policy
Read the current security policy, then apply an updated default and rules.
Retrieves the organization's current security policy rules, then updates the policy default level and per-rule actions.
2 steps inputs: orgSlug, policyDefault, policyRules outputs: previousRules, updatedRules
1
getPolicy
Read the organization's current security policy rules to capture the existing configuration before changing it.
2
updatePolicy
Update the security policy with a new default level and the supplied per-rule actions.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Socket Review and Update Org Security Policy
  summary: Read the organization's current security policy, then write back an updated default level and rule set.
  description: >-
    An organization settings governance flow. It first reads the current
    security policy rules so the existing configuration can be captured and
    compared, and then submits an updated policy that sets a new default
    enforcement level along with any explicit per-rule actions. Every step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: securityPolicyApi
  url: ../openapi/socket-dev-security-policy-api-openapi.yml
  type: openapi
workflows:
- workflowId: review-update-security-policy
  summary: Read the current security policy, then apply an updated default and rules.
  description: >-
    Retrieves the organization's current security policy rules, then updates
    the policy default level and per-rule actions.
  inputs:
    type: object
    required:
    - orgSlug
    - policyDefault
    properties:
      orgSlug:
        type: string
        description: The slug of the organization.
      policyDefault:
        type: string
        description: The new default security policy level (default, low, medium, high).
      policyRules:
        type: object
        description: Per-rule action overrides keyed by rule name (each value an object with an action).
  steps:
  - stepId: getPolicy
    description: >-
      Read the organization's current security policy rules to capture the
      existing configuration before changing it.
    operationId: getOrgSecurityPolicy
    parameters:
    - name: org_slug
      in: path
      value: $inputs.orgSlug
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      currentRules: $response.body#/securityPolicyRules
  - stepId: updatePolicy
    description: >-
      Update the security policy with a new default level and the supplied
      per-rule actions.
    operationId: updateOrgSecurityPolicy
    parameters:
    - name: org_slug
      in: path
      value: $inputs.orgSlug
    requestBody:
      contentType: application/json
      payload:
        policyDefault: $inputs.policyDefault
        policyRules: $inputs.policyRules
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      updatedRules: $response.body#/securityPolicyRules
  outputs:
    previousRules: $steps.getPolicy.outputs.currentRules
    updatedRules: $steps.updatePolicy.outputs.updatedRules

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/socket-dev-review-update-security-policy-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.