Skip to content

Conversation

@Yasaswini-ch
Copy link
Contributor

Summary

Adds a new OSINT transform that enriches domain entities with GitHub organization and repository intelligence.

Features

  • Search organizations by domain
  • Retrieve repository metadata with filtering
  • Analyze top contributors
  • Rate limit tracking

Configuration

Requires a GitHub Personal Access Token (public_repo scope).

  • Vault key: github_token
  • Env var: GITHUB_TOKEN
  • Updated .env.example with the required variable.

Testing

  • Unit tests added in spectragraph-transforms/tests/test_github_repo.py
  • Manual verification script test_manual.py included for local testing

Dependencies

  • httpx: For async HTTP requests

Configuration

⚠️ ATTENTION: Users MUST provide their own GitHub Personal Access Token for this transform to function.
Run spectragraph vault set github_token <YOUR_TOKEN> or set the GITHUB_TOKEN environment variable.

New OSINT transform for domain -> GitHub enrichment

- Search organizations by domain

- Retrieve repository metadata with filtering

- Analyze top contributors

- Track rate limits

- Comprehensive test coverage

- Full documentation and examples
@sr-857 sr-857 added the SWOC26 label Jan 9, 2026
@sr-857 sr-857 merged commit 926f8ec into sr-857:main Jan 9, 2026
1 check passed
@sr-857
Copy link
Owner

sr-857 commented Jan 9, 2026

Merge pull request #27 from Yasaswini-ch/feature/github-repo-transform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants