{"id":16543252,"url":"https://github.com/codemation/rubrik-search-events","last_synced_at":"2026-06-05T03:31:06.090Z","repository":{"id":130201850,"uuid":"220494125","full_name":"codemation/Rubrik-search-events","owner":"codemation","description":"A command-line utility to search all event messages with Rubrik CDM based on a particular string. ","archived":false,"fork":false,"pushed_at":"2019-11-08T16:03:50.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T07:14:07.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/codemation.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}},"created_at":"2019-11-08T15:23:40.000Z","updated_at":"2019-11-08T16:03:53.000Z","dependencies_parsed_at":"2023-07-17T06:16:25.630Z","dependency_job_id":null,"html_url":"https://github.com/codemation/Rubrik-search-events","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codemation/Rubrik-search-events","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemation%2FRubrik-search-events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemation%2FRubrik-search-events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemation%2FRubrik-search-events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemation%2FRubrik-search-events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codemation","download_url":"https://codeload.github.com/codemation/Rubrik-search-events/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemation%2FRubrik-search-events/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33928630,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"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-10-11T18:59:46.177Z","updated_at":"2026-06-05T03:31:06.078Z","avatar_url":"https://github.com/codemation.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rubrik-search-events\nA command-line utility to search all event messages with Rubrik CDM based on a particular string. \n\n# Get Started\n\n    $ git clone https://github.com/codemation/Rubrik-search-events.git\n\n### 1 - Create an credentials file:\nCredential file should contain username password in the following  format 'username:pw'\n\n    $ echo -n 'admin:abcd1234' \u003e ~/special_cdm_auth\n\n### 2 - Update auth.cfg \nWithin search-events folder with credential file location. \n\n    $ echo -n '~/special_cdm_auth' \u003e auth.cfg\n\n## Usage:\n\n    ./search.py --node_ip \u003cip\u003e [options] --search_string \u003csearchForMessage\u003e\n\n    ./search.py \u003c--node_ip XX.XX.XX.XX \u003e [--event_type \u003ctype\u003e] [--status \u003ctype\u003e][--event_type \u003ctype\u003e] \n                [--object_ids \"VirtualMachine:::\u003cid\u003e,FileSet:::\u003cid\u003e\"] [--object_name \u003cname\u003e] [--object_type \u003cobjtype\u003e]\n                [--output \u003cconsole (default) | file-name.log ][--help] \u003c --search_string messagestring \u003e\n\n## Example:\n\n    ./search.py --node_ip 10.35.36.165 ----event_type Audit --output results.log --search_string 'created local user'\n\n    ./search.py --node_ip 10.35.36.165 --object_name data2 --status Failure  --search_string 'Internal server error'\n\n    ./search.py --node_ip 10.35.36.165 --object_ids \"Fileset:::02d72804-7cc1-4e40-a465-95a5d868f0e9,VirtualMachine:::94f70c11-0775-4562-b9a8-9d19dd4fca56-vm-79879\" --status Failure  --search_string 'Could not fetch snapshot disk data'\n\n    ./search.py --node_ip 10.35.36.165 --object_name data2 --object_type LinuxFileset --status Failure  --search_string '' --output all_failures_data2_fileset.log\n\n    --status: \n        'Failure', 'Warning', 'Running', 'Success', \n        'Canceled', 'Canceling’\n    --event_type: \n        \"Archive\",\"Audit\",\"AuthDomain\",\n        \"Backup\",\"CloudNativeSource\",\"Configuration\",\n        \"Diagnostic\",\"Discovery\",\"Instantiate\",\n        \"Maintenance\",\"NutanixCluster\",\"Recovery\",\n        \"Replication\",\"StorageArray\",\"StormResource\",\n        \"System\",\"Vcd\",\"VCenter\"\n\n    --object_ids:\n        Filter by a comma separated list of object IDs. \n        Should only specify at most one of object_name and object_ids.\n        Example:\n            \"Fileset:::02d72804-7cc1-4e40-a465-95a5d868f0e9,VirtualMachine:::94f70c11-0775-4562-b9a8-9d19dd4fca56-vm-79879\"\n            ./search.py --node_ip 10.35.36.165 \n                --object_ids \"Fileset:::02d72804-7cc1-4e40-a465-95a5d868f0e9,VirtualMachine:::94f70c11-0775-4562-b9a8-9d19dd4fca56-vm-79879\" \n                --status Failure  --search_string 'Could not fetch snapshot disk data'\n\n    --object_name:\n        Example:\n            ./search.py --node_ip 10.35.36.165 --object_name data2 --status Failure  --search_string 'Internal server error'\n\n    --object_type:\n        Filter all the events by object type. Enter any of the following values:\n            'VmwareVm', 'Mssql', 'LinuxFileset', 'WindowsFileset', 'WindowsHost', 'LinuxHost',\n            'StorageArrayVolumeGroup', 'VolumeGroup', 'NutanixVm', 'Oracle', 'AwsAccount',\n            and 'Ec2Instance'. WindowsHost maps to both WindowsFileset and VolumeGroup, \n            while LinuxHost maps to LinuxFileset and StorageArrayVolumeGroup.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemation%2Frubrik-search-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemation%2Frubrik-search-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemation%2Frubrik-search-events/lists"}