{"id":24282804,"url":"https://github.com/marekq/go-firewalla","last_synced_at":"2025-06-25T21:36:38.217Z","repository":{"id":158393654,"uuid":"633925500","full_name":"marekq/go-firewalla","owner":"marekq","description":"Download device details, flowlogs and alarms from the Firewalla MSP API.","archived":false,"fork":false,"pushed_at":"2024-05-26T22:25:49.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T20:01:50.245Z","etag":null,"topics":["firewalla","firewalla-scripts","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marekq.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-04-28T15:43:03.000Z","updated_at":"2025-01-03T14:11:59.000Z","dependencies_parsed_at":"2024-07-20T10:15:07.506Z","dependency_job_id":null,"html_url":"https://github.com/marekq/go-firewalla","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marekq/go-firewalla","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marekq%2Fgo-firewalla","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marekq%2Fgo-firewalla/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marekq%2Fgo-firewalla/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marekq%2Fgo-firewalla/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marekq","download_url":"https://codeload.github.com/marekq/go-firewalla/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marekq%2Fgo-firewalla/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261958593,"owners_count":23236492,"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","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":["firewalla","firewalla-scripts","golang"],"created_at":"2025-01-16T03:54:54.824Z","updated_at":"2025-06-25T21:36:38.175Z","avatar_url":"https://github.com/marekq.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"go-firewalla\n============\n\nDownload device details, flowlogs and alarms from the Firewalla MSP API. The results are stored to a local CSV file. \n\n## Installation\n\n- Edit the `config.json` file with your Firewalla MSP API key and URL:\n```json\n{\n    \"token\": \"token\",\n    \"url\": \"https://\u003curl\u003e.firewalla.net/v1/\"\n}\n```\n- Run `go build` to build the binary (`firewalla`)\n- Run `chmod +x firewalla` to make the binary executable\n- Now you can one of the following commands:\n\n```bash\nUsage of ./firewalla:\n  -debug\n        Debug mode\n  -help\n        Display help menu\n  -hours int\n        (Optional) Flowlog hours to retrieve (default 24)\n  -limit int\n        (Optional) Results limit (default 200)\n  -mode string\n        Mode to run the script (devices, alarms, flowlogs) (default \"flowlogs\")\n```\n\n\n## CLI Examples\n```bash\n# Get all devices (write to devices.csv)\n$ firewalla -mode devices\n\n# Get all alarms (write to alarms.csv)\n$ firewalla -mode alarms\n\n# Get all flowlogs for last X hours (default 24) (write to flowlogs/ folder)\n$ firewalla -mode flowlogs\n$ firewalla -mode flowlogs -hours 3\n$ firewalla -mode flowlogs -hours 48 -debug\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarekq%2Fgo-firewalla","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarekq%2Fgo-firewalla","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarekq%2Fgo-firewalla/lists"}