Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
sentineldevops/Azure-Pipeline.yml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
69 lines (66 sloc)
3.43 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the main pipelien which covers all the stages | |
# The tasks are stored in pipelines/steps.yml | |
# you can read more about this: | |
trigger: | |
- master | |
- release | |
- development | |
stages: | |
- stage: Dev | |
displayName: 'Deploying to Development environment' | |
jobs: | |
- template: pipelines/steps.yml | |
parameters: | |
environment: Dev | |
azureSubscription: '' | |
WorkspaceName: '' # Enter the Azure Sentinel Workspace name | |
SubscriptionId: 'cd466daa-3528-481e-83f1-7a7148706287' | |
ResourceGroupName: '' | |
ResourceGroupLocation: 'westeurope' | |
EnableSentinel: true | |
analyticsRulesFile: SettingFiles/AlertRules.json # leave empty if you dont want to configure Analytic rules | |
huntingRulesFile: SettingFiles/HuntingRules.json # leave empty if you dont want to configure Hunting rules | |
PlaybooksFolder: Playbooks/ # leave empty if you dont want to configure Playbooks | |
ConnectorsFile: SettingFiles/DataConnectors.json # leave empty if you dont want to configure Connectors | |
WorkbooksFolder: Workbooks/ | |
WorkbookSourceId: '' # leave empty if you dont want to configure Workbook | |
- stage: Staging | |
displayName: 'Deploying to Acceptance environment' | |
condition: and(succeeded(), eq(variables['build.sourceBranch'], 'refs/heads/release')) | |
dependsOn: Dev # this stage runs after Dev | |
jobs: | |
- template: pipelines/steps.yml | |
parameters: | |
environment: Staging | |
azureSubscription: '' | |
WorkspaceName: '' # Enter the Azure Sentinel Workspace name | |
SubscriptionId: 'cd466daa-3528-481e-83f1-7a7148706287' | |
ResourceGroupName: '' | |
ResourceGroupLocation: 'westeurope' | |
EnableSentinel: true | |
analyticsRulesFile: SettingFiles/AlertRules.json # leave empty if you dont want to configure Analytic rules | |
huntingRulesFile: SettingFiles/HuntingRules.json # leave empty if you dont want to configure Hunting rules | |
PlaybooksFolder: Playbooks/ # leave empty if you dont want to configure Playbooks | |
ConnectorsFile: SettingFiles/DataConnectors.json # leave empty if you dont want to configure Connectors | |
WorkbooksFolder: Workbooks/ | |
WorkbookSourceId: '' # leave empty if you dont want to configure Workbook | |
- stage: Production | |
displayName: 'Deploying to Production environment' | |
condition: and(succeeded(), eq(variables['build.sourceBranch'], 'refs/heads/master')) | |
dependsOn: Dev # this stage runs after Dev | |
jobs: | |
- template: pipelines/steps.yml | |
parameters: | |
environment: Production | |
azureSubscription: '' | |
WorkspaceName: '' # Enter the Azure Sentinel Workspace name | |
SubscriptionId: 'cd466daa-3528-481e-83f1-7a7148706287' | |
ResourceGroupName: '' | |
ResourceGroupLocation: 'westeurope' | |
EnableSentinel: true | |
analyticsRulesFile: SettingFiles/AlertRules.json # leave empty if you dont want to configure Analytic rules | |
huntingRulesFile: SettingFiles/HuntingRules.json # leave empty if you dont want to configure Hunting rules | |
PlaybooksFolder: Playbooks/ # leave empty if you dont want to configure Playbooks | |
ConnectorsFile: SettingFiles/DataConnectors.json # leave empty if you dont want to configure Connectors | |
WorkbooksFolder: Workbooks/ | |
WorkbookSourceId: '' # leave empty if you dont want to configure Workbook |