{"id":19050095,"url":"https://github.com/anexper/interrogator","last_synced_at":"2025-10-14T05:41:32.002Z","repository":{"id":17220188,"uuid":"19988965","full_name":"anEXPer/interrogator","owner":"anEXPer","description":"Shell script to create a manifest from an app running on Cloud Foundry.","archived":false,"fork":false,"pushed_at":"2014-06-13T03:08:12.000Z","size":300,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-26T03:23:25.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/anEXPer.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}},"created_at":"2014-05-20T16:45:29.000Z","updated_at":"2014-06-13T03:08:12.000Z","dependencies_parsed_at":"2022-08-31T20:31:11.285Z","dependency_job_id":null,"html_url":"https://github.com/anEXPer/interrogator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/anEXPer/interrogator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anEXPer%2Finterrogator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anEXPer%2Finterrogator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anEXPer%2Finterrogator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anEXPer%2Finterrogator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anEXPer","download_url":"https://codeload.github.com/anEXPer/interrogator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anEXPer%2Finterrogator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018008,"owners_count":26086236,"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-14T02:00:06.444Z","response_time":60,"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":"2024-11-08T23:13:05.575Z","updated_at":"2025-10-14T05:41:31.980Z","avatar_url":"https://github.com/anEXPer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# THE INTERROGATOR SUITE\n\nA set of bash scripts for asking Cloud Controller _pointed questions._\n\nYou'll need to set the following environment variables for all of these:\n\n- `CF_API`\n- `CF_USERNAME`\n- `CF_PASSWORD`\n\nIndividual tools may require additional setup.\n\nThese all require the excellent [jq](http://stedolan.github.io/jq/).\n\n## `interroman`\n_give me the manifest for this app!_\n\nOf course, poor CC doesn't have the manifest for the app. `manifest.yml` is cf-ignored by default, and ccdb doesn't know or care about our puny mortal manifests. \n\nWhich is why we have to beat it out of CC with `cf curl`.\n\n`interroman` takes an app name, org and space as arguments (in that order).\n\n### Limitations of `interroman`\nIt can only represent the first route in a manifest (and in fact, only one route is permissable in app manifests.) \nIt doesn't currently handle env vars at all. \nIt can only represent the fist bound service.\n\nEliminating these latter two are potential future features. The first one requires some thought; `interroman` _could_ insert multiple values for each of these things into the manifest without breaking it; the last value given would always \"win,\" with others being clobbered. This might be confusing/terrible in the event that there were multiple routes, only some of which had hostnames. You might end up with a new, previously not-specified combination of hostname and domain. Ugly. **Anyway.** For now it doesn't do any of those things.\n\n## interro-route\n_where is the rebel base!?_ Um. Actually, more like _who is the owner of the app running with this hostname!?_ (But that's basically the same thing, right?)\n\nCC knows. The `cf` cli doesn't want to ask it, but CC knows. \n\nWe have ways of making CC talk. \n\n`interro-route` takes a hostname and returns the known associates of the first route it comes across that use that hostname. \n\n### Limitations of `interro-route`\n- only handles first instance of a host name, of which there could be more than one on various domains\n- can't find you domain-only routes\n- doesn't list multiple apps bound, if more than one\n\nStill, it leaves its files around for you to inspect in ~/tmp/interrogator. You can probably find out what you want to know with the .json files in there, the script's patterns, and `cf curl`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanexper%2Finterrogator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanexper%2Finterrogator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanexper%2Finterrogator/lists"}