-
Notifications
You must be signed in to change notification settings - Fork 600
Fix panw-prisma-airs manifest.json to use proper JSON schema format #1128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix panw-prisma-airs manifest.json to use proper JSON schema format #1128
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR updates the PANW Prisma AIRS plugin manifest to use proper JSON schema format. The changes look good overall, with improved security by marking the API key as encrypted and better documentation for users.
"credentials": { | ||
"type": "object", | ||
"properties": { | ||
"AIRS_API_KEY": { | ||
"type": "string", | ||
"label": "AIRS API Key", | ||
"description": "The API key for Palo Alto Networks Prisma AI Runtime Security", | ||
"encrypted": true | ||
} | ||
}, | ||
"required": ["AIRS_API_KEY"] | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Code Refactor
Issue: The credentials schema has been updated to use proper JSON schema format, but it could benefit from a default value or example to improve developer experience.
Fix: Adding an example value would help developers understand the expected format of the API key.
Impact: Improves developer experience and reduces potential configuration errors.
"credentials": { | |
"type": "object", | |
"properties": { | |
"AIRS_API_KEY": { | |
"type": "string", | |
"label": "AIRS API Key", | |
"description": "The API key for Palo Alto Networks Prisma AI Runtime Security", | |
"encrypted": true | |
} | |
}, | |
"required": ["AIRS_API_KEY"] | |
}, | |
\"credentials\": { | |
\"type\": \"object\", | |
\"properties\": { | |
\"AIRS_API_KEY\": { | |
\"type\": \"string\", | |
\"label\": \"AIRS API Key\", | |
\"description\": \"The API key for Palo Alto Networks Prisma AI Runtime Security\", | |
\"encrypted\": true, | |
\"example\": \"airs_api_xxxxxxxxxxxx\" | |
} | |
}, | |
\"required\": [\"AIRS_API_KEY\"] | |
}, |
Important PR Review SkippedPR review skipped as per the configuration setting. Run a manually review by commenting /matter review 💡Tips to use Matter AICommand List
|
Description
Motivation
Type of Change
How Has This Been Tested?
Screenshots (if applicable)
Checklist
Related Issues