{"id":39076190,"url":"https://github.com/cloud-gov/aide-boshrelease","last_synced_at":"2026-01-17T18:26:50.495Z","repository":{"id":38032608,"uuid":"246916055","full_name":"cloud-gov/aide-boshrelease","owner":"cloud-gov","description":"a bosh release for AIDE","archived":false,"fork":false,"pushed_at":"2025-12-02T20:02:15.000Z","size":76,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-05T19:19:31.996Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloud-gov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","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":"2020-03-12T19:34:51.000Z","updated_at":"2025-12-02T20:02:18.000Z","dependencies_parsed_at":"2024-06-19T00:35:21.964Z","dependency_job_id":"256b0bcd-a94a-4f99-88a5-c3c53034daf8","html_url":"https://github.com/cloud-gov/aide-boshrelease","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cloud-gov/aide-boshrelease","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Faide-boshrelease","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Faide-boshrelease/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Faide-boshrelease/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Faide-boshrelease/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloud-gov","download_url":"https://codeload.github.com/cloud-gov/aide-boshrelease/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Faide-boshrelease/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28515475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T17:57:59.192Z","status":"ssl_error","status_checked_at":"2026-01-17T17:57:52.527Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-17T18:26:50.345Z","updated_at":"2026-01-17T18:26:50.447Z","avatar_url":"https://github.com/cloud-gov.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AIDE bosrelease\n\nA boshrelease for the Advanced Intrusion Detection Environment\n\n## Using it\n\nThis release is made with the following assumptions:\n\n- you're using the [node_exporter](https://github.com/bosh-prometheus/node-exporter-boshrelease) bosh release to export stats to prometheus\n- node_exporter is loading /var/vcap/data/node_exporer/config/.\u0026ast;.prom\n\nThe release will schedule AIDE to check and report hourly, by dropping a file into `/etc/cron.hourly`.\n\nExtra rules can be applied via the `append_rules` property, which should be just raw text rules:\n\n```yaml\nappend_rules: |\n  /path/to/tacos R # don't mess with my tacos\n\n```\nExtra ignore rules can be applied via the `prepend_rules` property, which should be just raw text rules - if you're ignoring a sub file/directory either in a default rule or under an above `append_rules` place your ignore syntax here:\n\n```yaml\nprepend_rules: |\n  !/something/i/do/not/care/about\n\n```\n\n## What it does\n\n - `pre-start` script ensures the AIDE db has been initialized.\n - `post-deploy` script updates the database calling `update-aide-db`, accepting all changes and schedules a cron job to hourly run aide checks.\n - `run-report` runs aide --check, calling functions in `lock-functions` and `calculate-changes`,  and exports the results to prometheus\n\n## Running tests\n\nThere are a subset of files and conditions which are ignored when an `aide --check` command is executed because of `bosh ssh`.  Details on this are located at https://github.com/cloud-gov/internal-docs/blob/main/docs/runbooks/Platform/aide.md#adding-files-to-be-ignored---alerting-only\n\nTo test the function which calculates the number of changes, execute the file `jobs/aide/templates/bin/test-calculate-changes.sh` which should be located in the same folder is `calculate-changes`.  The output should be similar to:\n\n```bash\n./test-calculate-changes\nRunning calculate_changes tests...\n======================================\n=== Testing scenario: scenario1_bosh_changes_only ===\n✓ PASS: Scenario 1: bosh_ changes only - Result: 0 (expected: 0)\n\n=== Testing scenario: scenario2_non_bosh_changes ===\n✓ PASS: Scenario 2: non-bosh changes - Result: 1 (expected: 1)\n\n=== Testing scenario: scenario3_outside_allowed_list ===\n✓ PASS: Scenario 3: files outside allowed list - Result: 3 (expected: 3)\n\n=== Testing scenario: scenario4_zero_changes ===\n✓ PASS: Scenario 4: zero changes - Result: 0 (expected: 0)\n\n=== Testing scenario: scenario5_invalid_report ===\n✓ PASS: Scenario 5: invalid report format - Result: 0 (expected: 0)\n\n=== Testing scenario: scenario6_mixed_changes ===\n✓ PASS: Scenario 6: mixed bosh_ and non-bosh_ changes - Result: 1 (expected: 1)\n\n======================================\n         TEST SUMMARY\n======================================\nTotal tests:  6\nPassed:       6\nFailed:       0\n\nAll tests passed!\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-gov%2Faide-boshrelease","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloud-gov%2Faide-boshrelease","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-gov%2Faide-boshrelease/lists"}