MuleSoft · Arazzo Workflow

MuleSoft Harden Organization Security

Version 1.0.0

Read an organization, apply MFA and session-timeout settings, then confirm.

1 workflow 1 source API 1 provider
View Spec View on GitHub API GatewayAPI ManagementEnterpriseIntegrationArazzoWorkflows

Provider

mulesoft

Workflows

harden-organization-security
Enforce MFA and a session timeout on an organization and verify it.
Fetches an organization, updates its MFA and session-timeout settings, and re-fetches it to confirm the change.
3 steps inputs: bearerToken, orgId, sessionTimeout outputs: mfaRequired, orgId
1
getOrganization
Read the current organization record to capture its name before applying security settings.
2
updateOrganization
Update the organization to require MFA and apply the supplied session timeout, preserving its name and owner.
3
confirmSettings
Re-read the organization to confirm the MFA requirement is now in effect.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: MuleSoft Harden Organization Security
  summary: Read an organization, apply MFA and session-timeout settings, then confirm.
  description: >-
    Tightens the security posture of an Anypoint organization. The workflow
    reads the current organization record, updates it to require multi-factor
    authentication and a shorter session timeout, and then re-reads the
    organization to confirm the settings were applied. 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: organizationsApi
  url: ../openapi/mulesoft-organizations-api-openapi.yml
  type: openapi
workflows:
- workflowId: harden-organization-security
  summary: Enforce MFA and a session timeout on an organization and verify it.
  description: >-
    Fetches an organization, updates its MFA and session-timeout settings, and
    re-fetches it to confirm the change.
  inputs:
    type: object
    required:
    - bearerToken
    - orgId
    - sessionTimeout
    properties:
      bearerToken:
        type: string
        description: Anypoint Platform bearer access token.
      orgId:
        type: string
        description: The organization id to harden.
      sessionTimeout:
        type: integer
        description: Session timeout in minutes (15 to 180).
  steps:
  - stepId: getOrganization
    description: >-
      Read the current organization record to capture its name before applying
      security settings.
    operationId: getOrganization
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.bearerToken"
    - name: orgId
      in: path
      value: $inputs.orgId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      orgId: $response.body#/id
      orgName: $response.body#/name
      ownerId: $response.body#/ownerId
  - stepId: updateOrganization
    description: >-
      Update the organization to require MFA and apply the supplied session
      timeout, preserving its name and owner.
    operationId: updateOrganization
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.bearerToken"
    - name: orgId
      in: path
      value: $steps.getOrganization.outputs.orgId
    requestBody:
      contentType: application/json
      payload:
        name: $steps.getOrganization.outputs.orgName
        ownerId: $steps.getOrganization.outputs.ownerId
        sessionTimeout: $inputs.sessionTimeout
        mfaRequired: true
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      mfaRequired: $response.body#/mfaRequired
  - stepId: confirmSettings
    description: >-
      Re-read the organization to confirm the MFA requirement is now in effect.
    operationId: getOrganization
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.bearerToken"
    - name: orgId
      in: path
      value: $steps.getOrganization.outputs.orgId
    successCriteria:
    - condition: $statusCode == 200
    - condition: $response.body#/mfaRequired == true
    outputs:
      mfaRequired: $response.body#/mfaRequired
  outputs:
    orgId: $steps.getOrganization.outputs.orgId
    mfaRequired: $steps.confirmSettings.outputs.mfaRequired

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/mulesoft-harden-organization-security-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.