Skip to main content

Azure DevOps

Overview

Visualize and analyze Azure DevOps resources, including projects, repositories, pipelines, artifacts, and work items. Gain insights into visibility, governance, and pipeline execution. Monitor compliance, manage permissions and policies, and analyze repositories and artifacts for vulnerabilities. Enable comprehensive tracking of development activities and ensure alignment with organizational security and compliance requirements.

Configurations

ConfigurationDescription
Blueprint Account NameA human-readable name for your account that will be used to identify this account across the application.
Azure PATAzure Personal Access Token with the necessary permissions.
Azure Organization URLThe URL of your Azure DevOps organization.
Data Crawl FrequencyThe frequency at which Kscope will crawl the account for resources.
Event Crawl FrequencyThe frequency at which Kscope will crawl the account for events.
Resource SelectionSelectively include or exclude certain resources.

Permissions

The Azure DevOps blueprint requires a Personal Access Token (PAT) which you can create by navigating to https://dev.azure.com/{organization}/_usersSettings/tokens (replace {organization} with your organization name). Please ensure that you give the token a descriptive name, set an appropriate expiration date, and manually select the required permissions listed below.

Required Permissions:

Group

  • graph:read

User

  • graph:read

Project

  • projects-and-teams:read
  • packaging:read
  • build:read

Team

  • projects-and-teams:read

Repository SBOM

  • code:read
  • code:write

Secret Scan

  • code:read

Remediation

  • code:read
  • code:write

Permission Details:

PermissionScopeWhy it's needed
code:readCodeRead repository content, branches, commits, and perform secret scanning
code:writeCodeCreate branches and push commits for remediation pull requests
build:readBuildAccess build definitions, build results, and pipeline information
project:readProject and teamRead project information, team details, and organizational structure
graph:readGraphAccess user and group information for identity management
packaging:readPackagingRead package and artifact information from Azure Artifacts

For more details on the Azure DevOps permissions, you can refer to the following documentation: Azure DevOps Services REST API Reference

SBOM Generation

The Azure DevOps blueprint includes SBOM (Software Bill of Materials) generation for repositories. This provides comprehensive vulnerability scanning and dependency analysis for source code and applications.

For information about supported languages and package managers for SBOM generation, see: SBOM

Schema Model

ResourcesSource EntityNormalized EntityDescription
Commit Referenceazuredevops.project.CommitRefCommitA commit reference in Azure DevOps project.
Tag Definitionazuredevops.project.TagDefinitionTagA tag definition in Azure DevOps project.
Groupazuredevops.group.GroupUserGroupA specific group within Azure DevOps.
Identity Referenceazuredevops.project.IdentityRefIdentityAn identity reference in Azure DevOps project.
Reviewer Identity Referenceazuredevops.project.ReviewerIdentityRefIdentityA reviewer identity reference in Azure DevOps.
Pipelineazuredevops.project.PipelinePipelineA pipeline in Azure DevOps project.
Pull Requestazuredevops.project.PullRequestPullRequestA pull request in Azure DevOps project.
Pull Request Completion Optionsazuredevops.project.PullRequestCompletionOptionsOptionCompletion options for pull requests.
Project Referenceazuredevops.project.ProjectRefProjectA project reference in Azure DevOps.
Projectazuredevops.project.ProjectProjectA project in Azure DevOps.
Web API Teamazuredevops.project.WebAPITeamTeamA web API team in Azure DevOps.
Repositoryazuredevops.project.RepositoryRepositoryA repository in Azure DevOps project.
Forkazuredevops.project.ForkRepositoryA forked repository in Azure DevOps.
Authorazuredevops.project.AuthorIdentityThe author of a commit in Azure DevOps.
Statusazuredevops.project.StatusStatusA status in Azure DevOps project.
Status Contextazuredevops.project.StatusContextContextA context for statuses in Azure DevOps.
Commentazuredevops.project.CommentCommentA comment in Azure DevOps project.
Pushazuredevops.project.PushPushA push event in Azure DevOps project.
Pull Request Comment Threadazuredevops.project.PullRequestCommentThreadThreadA comment thread on a pull request.
Comment Thread Contextazuredevops.project.CommentThreadContextContextContext for a comment thread in Azure DevOps.
Comment Positionazuredevops.project.CommentPositionPositionPosition of a comment in Azure DevOps.
Userazuredevops.user.UserUserA user in Azure DevOps.
Feedazuredevops.project.FeedFeedA feed in Azure DevOps project.
Upstream Sourceazuredevops.project.UpstreamSourceSourceAn upstream source in Azure DevOps feed.
Feed Viewazuredevops.project.FeedViewViewA view in Azure DevOps feed.
Feed Permissionazuredevops.project.FeedPermissionPermissionPermissions for Azure DevOps feed.
Packageazuredevops.project.PackagePackageA package in Azure DevOps feed.
Minimal Package Versionazuredevops.project.MinimalPackageVersionVersionA minimal package version in Azure DevOps.
Work Item Comment Version Referenceazuredevops.project.WorkItemCommentVersionRefCommentRefReference to a comment version in work item.
Work Item Referenceazuredevops.project.WorkItemReferenceReferenceReference to a work item in Azure DevOps.
Work Itemazuredevops.project.WorkItemRecordA work item in Azure DevOps project.
Work Item Commentazuredevops.project.WorkItemCommentCommentA comment on a work item in Azure DevOps.
Work Item Relationazuredevops.project.WorkItemRelationRelationA relation between work items in Azure DevOps.
Teamazuredevops.team.TeamTeamA team in Azure DevOps.
Team Memberazuredevops.team.TeamMemberMemberA member of a team in Azure DevOps.
Identityazuredevops.project.IdentityIdentityIdentity of a user in Azure DevOps.
Branch Statsazuredevops.project.BranchStatsStatsBranch statistics in Azure DevOps.
Commitazuredevops.project.CommitCodeCommitA commit in Azure DevOps project.
User Dateazuredevops.project.UserDateUserDateUser date information in Azure DevOps.
Buildazuredevops.project.BuildBuildA build in Azure DevOps project.
Task Orchestration Planazuredevops.project.TaskOrchestrationPlanPlanA task orchestration plan in Azure DevOps.
Definitionazuredevops.project.DefinitionDefinitionA build definition in Azure DevOps.
Build Artifactazuredevops.project.BuildArtifactArtifactAn artifact of a build in Azure DevOps.
Artifact Resourceazuredevops.project.ArtifactResourceResourceA resource associated with a build artifact.
Task Agent Poolazuredevops.project.TaskAgentPoolPoolA task agent pool in Azure DevOps.
Agent Pool Queueazuredevops.project.AgentPoolQueueQueueAn agent pool queue in Azure DevOps.
Build Request Validation Resultazuredevops.project.BuildRequestValidationResultResultValidation result for a build request.
Build Logazuredevops.project.BuildLogLogA build log in Azure DevOps project.
gitleak findingssca.secretscan.FindingVulnerabilityA secret detected by gitleak scan.