Refactor code structure and optimize performance across multiple modules
This commit is contained in:
79
etc/scm-connectors/registry.yaml
Normal file
79
etc/scm-connectors/registry.yaml
Normal file
@@ -0,0 +1,79 @@
|
||||
# SCM (Source Control Management) Connector Registry
|
||||
# Source control integrations for remediation automation
|
||||
|
||||
version: "1.0"
|
||||
category: scm
|
||||
|
||||
# Global SCM settings
|
||||
defaults:
|
||||
enabled: false # Explicitly enable connectors
|
||||
timeout: "00:01:00"
|
||||
retry:
|
||||
maxRetries: 3
|
||||
backoffMs: 1000
|
||||
|
||||
# ============================================================================
|
||||
# SCM CONNECTORS
|
||||
# ============================================================================
|
||||
connectors:
|
||||
github:
|
||||
enabled: false
|
||||
priority: 100
|
||||
config: github.yaml
|
||||
description: "GitHub.com and GitHub Enterprise Server"
|
||||
|
||||
gitlab:
|
||||
enabled: false
|
||||
priority: 100
|
||||
config: gitlab.yaml
|
||||
description: "GitLab.com and self-hosted GitLab"
|
||||
|
||||
azure-devops:
|
||||
enabled: false
|
||||
priority: 100
|
||||
config: azure-devops.yaml
|
||||
description: "Azure DevOps Services and Server"
|
||||
|
||||
bitbucket:
|
||||
enabled: false
|
||||
priority: 100
|
||||
config: bitbucket.yaml
|
||||
description: "Bitbucket Cloud and Data Center"
|
||||
|
||||
gitea:
|
||||
enabled: false
|
||||
priority: 90
|
||||
config: gitea.yaml
|
||||
description: "Gitea, Forgejo, Codeberg"
|
||||
|
||||
# ============================================================================
|
||||
# COMMON SCM SETTINGS
|
||||
# ============================================================================
|
||||
common:
|
||||
# PR/MR creation
|
||||
pullRequest:
|
||||
# Default branch for PRs
|
||||
defaultBaseBranch: main
|
||||
# PR title prefix
|
||||
titlePrefix: "[StellaOps]"
|
||||
# Auto-merge if checks pass
|
||||
autoMerge: false
|
||||
# Delete branch after merge
|
||||
deleteBranchOnMerge: true
|
||||
|
||||
# Commit settings
|
||||
commit:
|
||||
# Commit message prefix
|
||||
messagePrefix: "fix:"
|
||||
# Sign commits
|
||||
signCommits: true
|
||||
# Commit author
|
||||
authorName: "StellaOps Bot"
|
||||
authorEmail: "bot@stellaops.example.com"
|
||||
|
||||
# Branch naming
|
||||
branch:
|
||||
# Branch name pattern
|
||||
pattern: "stellaops/remediate-{vuln-id}"
|
||||
# Max branch name length
|
||||
maxLength: 100
|
||||
Reference in New Issue
Block a user