{
  "openapi": "3.0.1",
  "info": {
    "title": "Atlassian App Change Impact Auditor",
    "description": "Audit Atlassian Connect and Forge apps for migration blockers, unsupported modules, deprecated Jira and Confluence APIs, scope and remote mismatches, SARIF, JUnit, and CI release gates.",
    "version": "0.1",
    "x-build-id": "7Aorhwopbvl0ZHvaC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/venturesome_lunar~atlassian-app-change-impact-auditor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-venturesome_lunar-atlassian-app-change-impact-auditor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/venturesome_lunar~atlassian-app-change-impact-auditor/runs": {
      "post": {
        "operationId": "runs-sync-venturesome_lunar-atlassian-app-change-impact-auditor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/venturesome_lunar~atlassian-app-change-impact-auditor/run-sync": {
      "post": {
        "operationId": "run-sync-venturesome_lunar-atlassian-app-change-impact-auditor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "appLabel": {
            "title": "App label",
            "minLength": 1,
            "maxLength": 160,
            "type": "string",
            "description": "Optional label for the report. The Connect app name or key is used when omitted."
          },
          "product": {
            "title": "Atlassian product",
            "enum": [
              "auto",
              "jira",
              "confluence"
            ],
            "type": "string",
            "description": "Auto detects Jira or Confluence from Connect modules when possible.",
            "default": "auto"
          },
          "connectDescriptor": {
            "title": "Connect descriptor",
            "type": "object",
            "description": "Optional parsed atlassian-connect.json object. Use this field for API and JSON-input workflows.",
            "additionalProperties": true
          },
          "forgeManifestYaml": {
            "title": "Forge manifest YAML",
            "maxLength": 300000,
            "type": "string",
            "description": "Optional manifest.yml content. Source values are parsed but never executed."
          },
          "uploadedFiles": {
            "title": "Upload descriptor, manifest, source, or ZIP",
            "maxItems": 5,
            "type": "array",
            "description": "Optional files uploaded through Apify or public HTTPS URLs. ZIP contents are bounded and source code is inspected as text only; it is never executed.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2048,
              "pattern": "^https?://[^\\s]+$"
            }
          },
          "sourceFiles": {
            "title": "Inline source files",
            "maxItems": 200,
            "type": "array",
            "description": "Optional source snippets for API-usage scanning. Useful for API, MCP, and CI calls.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "path",
                "content"
              ],
              "properties": {
                "path": {
                  "title": "Path",
                  "description": "Repository-relative source path used in findings and SARIF.",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 500
                },
                "content": {
                  "title": "Content",
                  "description": "Source text to inspect. It is never executed.",
                  "type": "string",
                  "maxLength": 1000000
                }
              }
            },
            "default": []
          },
          "baselineNamespace": {
            "title": "Audit namespace",
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]{0,79}$",
            "type": "string",
            "description": "Stable namespace used for billing idempotency and future comparison history.",
            "default": "default"
          },
          "releaseGate": {
            "title": "Release gate",
            "type": "object",
            "description": "Fail the run after writing the paid report when findings reach the threshold.",
            "properties": {
              "enabled": {
                "title": "Enabled",
                "description": "Fail the run after storing outputs when the configured threshold is reached.",
                "type": "boolean",
                "default": true
              },
              "failOnSeverity": {
                "title": "Severity threshold",
                "description": "Minimum finding severity that fails the release gate.",
                "type": "string",
                "enum": [
                  "info",
                  "low",
                  "medium",
                  "high",
                  "critical"
                ],
                "default": "high"
              },
              "failOnNotAvailableModule": {
                "title": "Fail on unavailable module",
                "description": "Fail when an assessed Connect module has no generally available Forge equivalent.",
                "type": "boolean",
                "default": true
              }
            },
            "default": {
              "enabled": true,
              "failOnSeverity": "high",
              "failOnNotAvailableModule": true
            },
            "additionalProperties": false
          },
          "artifacts": {
            "title": "Output artifacts",
            "type": "object",
            "description": "Generate Markdown, SARIF, and JUnit reports in the default Key-Value Store.",
            "properties": {
              "markdown": {
                "title": "Markdown",
                "description": "Generate REPORT.md for human review.",
                "type": "boolean",
                "default": true
              },
              "sarif": {
                "title": "SARIF",
                "description": "Generate SARIF 2.1.0 for code-scanning tools.",
                "type": "boolean",
                "default": true
              },
              "junit": {
                "title": "JUnit",
                "description": "Generate JUnit XML for CI test-report consumers.",
                "type": "boolean",
                "default": true
              }
            },
            "default": {
              "markdown": true,
              "sarif": true,
              "junit": true
            },
            "additionalProperties": false
          },
          "limits": {
            "title": "Safety limits",
            "type": "object",
            "description": "Bounds uploaded archives and public file retrieval.",
            "properties": {
              "requestTimeoutSeconds": {
                "title": "Request timeout",
                "description": "Maximum seconds for each uploaded-file URL request.",
                "type": "integer",
                "minimum": 5,
                "maximum": 120,
                "default": 30
              },
              "maxUploadedFileBytes": {
                "title": "Compressed/upload bytes",
                "description": "Maximum bytes accepted from one uploaded-file URL.",
                "type": "integer",
                "minimum": 10000,
                "maximum": 20000000,
                "default": 10000000
              },
              "maxArchiveEntries": {
                "title": "Archive entries",
                "description": "Maximum ZIP entries and combined source-file count.",
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "default": 500
              },
              "maxExtractedBytes": {
                "title": "Extracted bytes",
                "description": "Maximum total uncompressed source bytes per audit.",
                "type": "integer",
                "minimum": 10000,
                "maximum": 50000000,
                "default": 20000000
              },
              "maxSourceFileBytes": {
                "title": "Per-source bytes",
                "description": "Maximum uncompressed bytes accepted from one source file.",
                "type": "integer",
                "minimum": 1000,
                "maximum": 2000000,
                "default": 1000000
              },
              "maxRedirects": {
                "title": "Redirects",
                "description": "Maximum validated HTTP redirects for an uploaded-file URL.",
                "type": "integer",
                "minimum": 0,
                "maximum": 5,
                "default": 3
              }
            },
            "default": {
              "requestTimeoutSeconds": 30,
              "maxUploadedFileBytes": 10000000,
              "maxArchiveEntries": 500,
              "maxExtractedBytes": 20000000,
              "maxSourceFileBytes": 1000000,
              "maxRedirects": 3
            },
            "additionalProperties": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}