briandelmsft / SentinelAutomationModules

The Microsoft Sentinel Triage AssistanT (STAT) enables easy to create incident triage automation in Microsoft Sentinel
MIT License
201 stars 55 forks source link

Update connector.json #435

Closed piaudonn closed 7 months ago

piaudonn commented 10 months ago

This is to align with https://github.com/briandelmsft/STAT-Function/pull/45

piaudonn commented 8 months ago

@briandelmsft what do you think?

briandelmsft commented 8 months ago

@piaudonn sorry I missed this. I can't seem to deploy this connector, get getting an error:

PUT https://logic-apim-eastus.management.azure-api.net/subscriptions/08ede92e-ba21-4d21-9d7e-3e1a8e63f22b/resourceGroups/apim-logic-eastus/providers/Microsoft.ApiManagement/service/logic-apim-eastus/apis/b0782c21a63d41f8b82bf2ad1e00d242?import=true&protocols=https&protocols=http&path=apim/b0782c21a63d41f8b82bf2ad1e00d242&api-version=2019-01-01 failed with BadRequest, content={"error":{"code":"ValidationError","message":"One or more fields contain incorrect values:","details":[{"code":"ValidationError","target":"representation","message":"Parsing error(s): JSON is valid against no schemas from 'oneOf'. Path 'paths['/{connectionId}/api/modules/mdca'].post.responses.default', line 2093, position 22."},{"code":"ValidationError","target":"representation","message":"Parsing error(s): The input OpenAPI file is not valid for the OpenAPI specificate https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md (schema https://github.com/OAI/OpenAPI-Specification/blob/master/schemas/v2.0/schema.json)."}]}}

It looks right to me, but I'm having issues validating

piaudonn commented 7 months ago

AhhhScreamGIF (2)