{"id":31503144,"url":"https://github.com/dadav/redhat-subscription-exporter","last_synced_at":"2025-10-02T19:52:08.632Z","repository":{"id":314950602,"uuid":"1057478862","full_name":"dadav/redhat-subscription-exporter","owner":"dadav","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-15T19:34:07.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-15T21:25:12.958Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dadav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-15T19:30:31.000Z","updated_at":"2025-09-15T19:34:10.000Z","dependencies_parsed_at":"2025-09-15T21:25:14.429Z","dependency_job_id":"b0a15f1c-ae8d-4dcd-a242-5cad23866b9b","html_url":"https://github.com/dadav/redhat-subscription-exporter","commit_stats":null,"previous_names":["dadav/redhat-subscription-exporter"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/dadav/redhat-subscription-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fredhat-subscription-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fredhat-subscription-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fredhat-subscription-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fredhat-subscription-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dadav","download_url":"https://codeload.github.com/dadav/redhat-subscription-exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fredhat-subscription-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278063098,"owners_count":25923590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-02T02:00:08.890Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-02T19:52:06.483Z","updated_at":"2025-10-02T19:52:08.624Z","avatar_url":"https://github.com/dadav.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Usage\n\nGet your token from [here](https://access.redhat.com/management/api) and export it as `RH_OFFLINE_TOKEN`.\n\nThen run this binary with these options:\n\n- `-export \u003cfile\u003e` to save the subscriptions in a json file\n- `-import-url \u003curl\u003e` to load the subscriptions from a remote json file\n- `-import-username \u003cuser\u003e` to use basic auth for `-import-url`\n- `-import-password \u003cpass\u003e` to use basic auth for `-import-url`\n\n## Overwrites\n\nYou can also overwrite other settings with these vars:\n\n- `RH_TOKEN_URL`: https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token\"\n- `RH_API_URL`: https://api.access.redhat.com/management/v1/subscriptions\n- `RH_FETCH_INTERVAL`: 30\n\nYou can overwrite the commandline flags with these vars:\n\n- `RH_EXPORT_FILE` overwrites `-export`\n- `RH_IMPORT_URL` overwrites `-import-url`\n- `RH_IMPORT_USERNAME` overwrites `-import-username`\n- `RH_IMPORT_PASSWORD` overwrites `-import-password`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadav%2Fredhat-subscription-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdadav%2Fredhat-subscription-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadav%2Fredhat-subscription-exporter/lists"}