mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 23:26:40 +03:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
908818eb02 |
+4
-4
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"aliases": [],
|
||||
"recipes": {
|
||||
"vinceamstoutz/symfony-security-auditor": [
|
||||
"1.0"
|
||||
"m4n50n/oauth2-azure-bundle": [
|
||||
"0.1"
|
||||
]
|
||||
},
|
||||
"recipe-conflicts": [],
|
||||
@@ -12,9 +12,9 @@
|
||||
"_links": {
|
||||
"repository": "github.com/symfony/recipes-contrib",
|
||||
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1990/{package_dotted}.{version}.json",
|
||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1595/{package_dotted}.{version}.json",
|
||||
"recipe_template_relative": "{package_dotted}.{version}.json",
|
||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1990/archived/{package_dotted}/{ref}.json",
|
||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1595/archived/{package_dotted}/{ref}.json",
|
||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"manifests": {
|
||||
"m4n50n/oauth2-azure-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"M4n50n\\OAuth2AzureBundle\\OAuth2AzureBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"composer-scripts": {
|
||||
"cache:clear": "symfony-cmd"
|
||||
},
|
||||
"env": {
|
||||
"AUTH_CLIEN_ID": "",
|
||||
"AUTH_CLIENT_PASS": "",
|
||||
"AUTH_TENANT": "",
|
||||
"AUTH_REDIRECT_URI": "",
|
||||
"AUTH_REDIRECT_TO_URL": false,
|
||||
"AUTH_REDIRECT_URL": ""
|
||||
},
|
||||
"gitignore": [
|
||||
".env",
|
||||
"/var/",
|
||||
"/vendor/"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/oauth2_azure.yaml": {
|
||||
"contents": [
|
||||
"o_auth2_azure:",
|
||||
" clientId: '%env(AUTH_CLIEN_ID)%'",
|
||||
" clientSecret: '%env(AUTH_CLIENT_PASS)%'",
|
||||
" tenant: '%env(AUTH_TENANT)%'",
|
||||
" redirectUri: '%env(AUTH_REDIRECT_URI)%'",
|
||||
"",
|
||||
" # Optional",
|
||||
" redirectToUrl: '%env(bool:AUTH_REDIRECT_TO_URL)%' # Activate redirect after authentication",
|
||||
" redirectUrl: '%env(AUTH_REDIRECT_URL)%' # URL to redirect after authentication",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "5a9d91da8b994ae18ccf3b1a609168c0b1ed0045"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
{
|
||||
"manifests": {
|
||||
"vinceamstoutz/symfony-security-auditor": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"VinceAmstoutz\\SymfonySecurityAuditor\\SymfonySecurityAuditorBundle": [
|
||||
"dev",
|
||||
"test"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/symfony_security_auditor.yaml": {
|
||||
"contents": [
|
||||
"# Full configuration reference (models, scan, audit loop, rate limits, caching):",
|
||||
"# https://github.com/vinceamstoutz/symfony-security-auditor/blob/main/docs/configuration.md",
|
||||
"#",
|
||||
"when@dev: &symfony_security_auditor",
|
||||
" symfony_security_auditor:",
|
||||
" model: 'claude-opus-4-8' # Model for both the Attacker and Reviewer roles. Bundle default: claude-opus-4-7.",
|
||||
" # attacker_model: 'claude-opus-4-8' # Dedicated model for the Attacker role. Falls back to `model` when unset.",
|
||||
" # reviewer_model: 'claude-haiku-4-5-20251001' # Lighter model for the Reviewer role. Falls back to `model` when unset.",
|
||||
"",
|
||||
" # Proactive rate limiting \u2014 adjust the values to your provider plan.",
|
||||
" # Any single dimension enables it: https://github.com/vinceamstoutz/symfony-security-auditor/blob/main/docs/configuration.md#auditrate_limit--proactive-throttling",
|
||||
" # audit:",
|
||||
" # rate_limit: # Example: Anthropic Tier 1 quotas for Claude Opus 4.x (https://platform.claude.com/docs/en/api/rate-limits)",
|
||||
" # requests_per_minute: 50",
|
||||
" # input_tokens_per_minute: 500000 # Cached input tokens don't count toward Anthropic's limit.",
|
||||
" # output_tokens_per_minute: 80000",
|
||||
"",
|
||||
"when@test: *symfony_security_auditor",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "87aec5ddb2d71e0b0571c2197f91ed9b28d51af5"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user