BuildRiot
Sign in

Review · AISource: GitHub Docs

GitHub license compliance: dependency policies, package checks and enforcement

GitHub’s documentation describes a package-check API that checks dependency licenses against repository policy. Agent integration is one possible application. [1][2] Open Source License Compliance is available for Enterprise Cloud, including data-resident deployments; repository enforcement requires Code Security. [1] Setup requires the dependency graph and enterprise policy/ruleset management access, with policy configured under Policies > License compliance > Default policy. [3] The Enterprise Open-Source License Manager role receives notifications to review exception requests. [3] Package checks accept a purls array at /repos/OWNER/REPO/license-compliance/package-checks. The documentation examples use API version 2026-03-10. Fine-grained tokens need Repository license policy: read permission. [2]

The GitHub Open Source License Compliance homepage (docs.github.com)
Screenshot: BuildRiot
GitHub Open Source License Compliance logo

Dependency license compliance

GitHub Open Source License Compliance

VerdictPromising

The documented workflow is promising, but setup effort, API-to-merge consistency and exception administration remain untested without an authenticated evaluation.

Best for
Enterprise Cloud teams with Code Security that want agents and reviewers to apply shared dependency license policies
Pricing
Enterprise starts at $21 per user/month, with a first-12-month qualification; Code Security costs $30 per active committer/month. [5][6] Confirm any additional license-compliance charges with GitHub.

Pros

  • Package-check API support for GitHub App tokens and version-specific package URLs [2]
  • Policy evaluation of transitive dependencies detected in the dependency graph [1]
  • License exceptions for packages, licenses and package patterns at repository or enterprise scope [3]
  • Effective policy visibility under Settings > Security > License policy [3]
  • Documented license_compliance_policy audit events with create or modify actions [3]

Cons

  • Repository enforcement requires Enterprise Cloud and Code Security [1]
  • Evaluate annotations can impede merges when comment resolution is required [1]
  • Findings do not automatically create exception requests [1]
  • Policy-management API methods, permissions and audit payload fields unspecified in GitHub’s configuration guide [3]

Why it matters

GitHub says Active rulesets block pull requests introducing noncompliant dependencies, including transitive dependencies detected in the dependency graph. [1] GitLab offers comparable merge enforcement through Ultimate-tier license approval policies. [7] Snyk Open Source supports dependency license analysis. [8] According to GitHub, approved repository- or enterprise-scoped license exceptions close alerts. They also unblock pull requests if other required checks pass. [3] Evaluate mode does not directly block merges, but GitHub warns that its license annotations can prevent merging when branch protection requires comment resolution. [1]

Attribution

Sources

  1. 1GitHub DocsAbout open source license compliance
  2. 2GitHub DocsREST API endpoints for license compliance
  3. 3GitHub DocsConfiguring open source license policies
  4. 4GitHub ChangelogOctober 2026 changelog
  5. 5GitHubGitHub pricing
  6. 6GitHubGitHub Advanced Security
  7. 7GitLab DocsLicense approval policies
  8. 8Snyk User DocsTechnical specifications and guidance

Read the original source for full details and context.

Report a problem

Links, dates or what you expected. Do not include passwords or private data.

More on AI

All AI stories

Review · AI

Elastic’s Linux profiling preview: Setup, requirements and limits

Elastic says its OpenTelemetry Profiling integration collects continuous CPU profiles on Linux through eBPF. It requires no application instrumentation or restarts, according to Elastic. Version 0.0.1 is a technical preview. OpenTelemetry Profiles remains Alpha. Elastic’s October 14, 2026, walkthrough performs the one-time Universal Profiling storage initialization as superuser. It then configures a Fleet policy with samples_per_second=20 and enrolls the Linux agent. To verify collection, Elastic directs users to Infrastructure > Universal Profiling > Flamegraphs. Users select the traffic window and filter process.executable.name: "java"; agent health alone is insufficient. Elastic reports 30,150 PetClinic requests in four minutes at slightly over half a CPU core. The walkthrough does not report a profiling-overhead measurement.

Elastic