AccountType
| Value | Description |
|---|---|
| INDIVIDUAL | A individual account. |
| TEAM | A team account. |
AccountSubscriptionPlan
Represents DeepSource’s subscription plans.| Value |
|---|
| FREE |
| STARTER |
| BUSINESS |
| ENTERPRISE |
AnalysisRunStatus
An enumeration.| Value | Description |
|---|---|
| PENDING | The Analysis run is still pending and results are awaited. |
| SUCCESS | The Analysis has completed successfully and no issues were found. |
| FAILURE | The Analysis has completed succesfully and some issues were detected by DeepSource. |
| TIMEOUT | The Analysis could not complete within an acceptable time range. |
| CANCEL | Another analysis was started for the same commitID. |
| READY |
CheckStatus
An enumeration.| Value |
|---|
| WAITING |
| PENDING |
| SUCCESS |
| FAILURE |
| TIMEOUT |
| CANCEL |
| READY |
| NEUTRAL |
| ARTIFACT_TIMEOUT |
CodeCoverageReportRepositorySortKey
Sort key to use to specify the sorting when fetching repositories in the Code Coverage report.| Value | Description |
|---|---|
| LCV_ASCENDING | Sort repositories in the Code Coverage report using the LCV metric value in ascending order. |
| LCV_DESCENDING | Sort repositories in the Code Coverage report using the LCV metric value in descending order. |
| BCV_ASCENDING | Sort repositories in the Code Coverage report using the BCV metric value in ascending order. |
| BCV_DESCENDING | Sort repositories in the Code Coverage report using the BCV metric value in descending order. |
IssueCategory
An enumeration.| Value | Description |
|---|---|
| ANTI_PATTERN | Anti-patterns are certain ways of writing code that result in poor design. While anti-patterns are correct code, they are not recommended as they often affect maintainability, readability, performance, and security. |
| BUG_RISK | Bug risks are issues in code that can cause errors in code and breakages in production. A bug is a flaw in the code that produces undesired or incorrect results. |
| PERFORMANCE | Performance issues are issues that impact the performance of code being executed by slowing it down. |
| SECURITY | A bug in code which could potentially be used to compromise security is a security vulnerability issue. |
| COVERAGE | Coverage issues are raised against code that is not covered in tests. |
| TYPECHECK | Typecheck issues are raised for type-annotated code in dynamically typed languages (Python, for example) if the annotations are not correct. |
| SECRETS | Hardcoded credentials detected in source code. |
| STYLE | Style issues are violations in the code format according to a style guide. |
| DOCUMENTATION | Documentation issues are raised for undocumented classes, functions, modules etc. |
IssueSeverity
An enumeration.| Value |
|---|
| CRITICAL |
| MAJOR |
| MINOR |
ReportKey
Represents the various kinds of reports that exist.| Value | Description |
|---|---|
| OWASP_TOP_10 | The OWASP Top 10 report. |
| SANS_TOP_25 | The SANS Top 25 report. |
| ISSUE_DISTRIBUTION | The Issue Distribution report. |
ReportStatus
Represents the various statuses that a report can have.| Value | Description |
|---|---|
| PASSING | The report’s status is passing. |
| FAILING | The report’s status is failing. |
| NOOP | The report doesn’t have a status. |
VCSProvider
Represents the various version control systems that are supported for personal accounts and workspaces.| Value | Description |
|---|---|
| GITHUB | GitHub |
| GITHUB_ENTERPRISE | GitHub Enterprise |
| GITLAB | GitLab |
| BITBUCKET | Bitbucket |
| BITBUCKET_DATACENTER | Bitbucket Data Center |
| ADS | Azure DevOps Services |
MetricShortcode
Represents the various metric types.| Value | Description |
|---|---|
| BCV | Branch Coverage |
| CCV | Condition Coverage |
| DCV | Documentation Coverage |
| DDP | External Dependencies |
| LCV | Line Coverage |
| CPCV | Composite Coverage |
| NLCV | New Line Coverage |
| NBCV | New Branch Coverage |
| NCCV | New Condition Coverage |
| NCPCV | New Composite Coverage |
MetricKey
Represents the key for which the metric is recorded in a repository.| Value |
|---|
| AGGREGATE |
| C_AND_CPP |
| CSHARP |
| GO |
| JAVA |
| JAVASCRIPT |
| PHP |
| PYTHON |
| RUBY |
| RUST |
| SCALA |
| KOTLIN |
| SWIFT |
MetricThresholdStatus
Represents the status of the threshold condition for a particular metric value.| Value | Description |
|---|---|
| PASSING | Metric value meets the threshold. |
| FAILING | Metric value doesn’t meet the threshold. |
TeamMemberRole
Represents the role of a user in a team.| Value |
|---|
| ADMIN |
| MEMBER |
| CONTRIBUTOR |
IgnoreRuleLevel
Represents the level of anIgnoreRule.
| Value | Description |
|---|---|
| REPOSITORY | Suppress the issue for all files in the repository. |
| FILE | Suppress the issue for the given file path in the repository. |
IgnoreRuleType
Represents the type of anIgnoreRule.
| Value | Description |
|---|---|
| FOREVER | Suppress the issue in the repository always. |
| PATTERN | Suppress the issue occurrences matching the given glob pattern in the repository. |
| TEST_PATTERN | Suppress the issue occurrences matching the repository’s specified test patterns in the repository. |
VulnerabilitySeverity
Severity levels for vulnerabilities based on CVSS scores.| Value | Description |
|---|---|
| NONE | No severity (informational). |
| LOW | Low severity vulnerability. |
| MEDIUM | Medium severity vulnerability. |
| HIGH | High severity vulnerability. |
| CRITICAL | Critical severity vulnerability. |
VulnerabilityOccurrenceReachability
The reachability status of a vulnerability occurrence.| Value | Description |
|---|---|
| REACHABLE | The vulnerable code is reachable from the application code. |
| UNREACHABLE | The vulnerable code is not reachable from the application code. |
| UNKNOWN | Reachability analysis could not determine the status. |
VulnerabilityOccurrenceFixability
The fixability status of a vulnerability occurrence.| Value | Description |
|---|---|
| ERROR | An error occurred while determining fixability. |
| UNFIXABLE | The vulnerability cannot be fixed (no patch available). |
| GENERATING_FIX | DeepSource is currently generating a fix for the vulnerability. |
| POSSIBLY_FIXABLE | The vulnerability may be fixable. |
| MANUALLY_FIXABLE | The vulnerability can be fixed manually. |
| AUTO_FIXABLE | The vulnerability can be automatically fixed by DeepSource. |
Ecosystem
Package ecosystems supported by DeepSource.| Value | Description |
|---|---|
| NPM | Node.js packages (npm). |
| PYPI | Python packages (PyPI). |
| MAVEN | Java packages (Maven). |
| GO | Go modules. |
| RUBYGEMS | Ruby gems. |
| NUGET | .NET packages (NuGet). |
| PACKAGIST | PHP packages (Packagist). |
| CRATES_IO | Rust packages (crates.io). |
PackageManager
Package managers supported by DeepSource.| Value | Description |
|---|---|
| REQUIREMENTS_TXT | Python requirements.txt |
| POETRY | Python Poetry |
| PIPFILE | Python Pipfile |
| PDM | Python PDM |
| UV | Python uv |
| NPM | Node.js npm |
| YARN | Node.js Yarn |
| PNPM | Node.js pnpm |
| BUN | Node.js Bun |
| GRADLE | Java Gradle |
| MAVEN | Java Maven |
| GO_MOD | Go modules |
| RUBY_GEMS | Ruby Gems |
| NUGET | .NET NuGet |
| PACKAGIST | PHP Packagist |
| CARGO | Rust Cargo |
RepositoryTargetSource
The source of a repository target configuration.| Value | Description |
|---|---|
| AUTO | Automatically detected by DeepSource. |
| CUSTOM | Manually configured by the user. |
PackageVersionType
The type of package version.| Value | Description |
|---|---|
| SEMVER | Semantic versioning. |
| ECOSYSTEM | Ecosystem-specific versioning. |
| GIT | Git commit-based versioning. |