{"id":18603347,"url":"https://github.com/numberly/windows-defender-textfile-exporter","last_synced_at":"2025-05-16T18:31:34.148Z","repository":{"id":187204077,"uuid":"664572386","full_name":"numberly/windows-defender-textfile-exporter","owner":"numberly","description":"Windows defender textfile exporter to use with windows_exporter ","archived":false,"fork":false,"pushed_at":"2023-07-13T12:12:30.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-16T11:49:27.801Z","etag":null,"topics":["prometheus","security","windows","windows-exporter","windowsdefender"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/numberly.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}},"created_at":"2023-07-10T09:21:05.000Z","updated_at":"2023-11-09T23:21:35.000Z","dependencies_parsed_at":"2023-08-09T12:08:27.885Z","dependency_job_id":null,"html_url":"https://github.com/numberly/windows-defender-textfile-exporter","commit_stats":null,"previous_names":["numberly/windows-defender-textfile-exporter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numberly%2Fwindows-defender-textfile-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numberly%2Fwindows-defender-textfile-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numberly%2Fwindows-defender-textfile-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numberly%2Fwindows-defender-textfile-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numberly","download_url":"https://codeload.github.com/numberly/windows-defender-textfile-exporter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239394671,"owners_count":19631117,"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":["prometheus","security","windows","windows-exporter","windowsdefender"],"created_at":"2024-11-07T02:14:16.003Z","updated_at":"2025-02-18T01:44:44.926Z","avatar_url":"https://github.com/numberly.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# windows-defender-textfile-exporter\nWindows defender textfile exporter to use with windows_exporter \n\n## Metrics\n\n## `windows_textfile_defender_state`:  gauge\nState of Windows Defender service\n### Value\n#### Windows \u003e= 2016\n- `1`: All protection enabled\n- `0`: Some protection disabled\n#### Windows \u003c 2016\n- `1`: Real Time Protection enabled\n- `0`: Real Time Protection disabled\n\n### Labels \n#### Windows \u003e= 2016\n- `engine_version`: Engine version\n- `service_version`: Service version\n- `real_time_protection_enabled`: Is real time protection enabled\n- `antispyware_enabled`: Is antispyware enabled\n- `antivirus_enabled`: Is antivirus enabled\n- `on_access_protection_enabled`: Is on access protection enabled\n- `behavior_monitor_enabled`: Is behavior monitoring enabled\n- `ioav_enabled`: Is ioav protection enabled\n\n#### Windows \u003c 2016\n- `engine_version`: Engine version\n- `real_time_protection_enabled`: Is real time protection enabled\n\n\n## `windows_textfile_defender_antivirus_state`:  gauge\nState of Windows Defender Antivirus\n\n### Value\n#### Windows \u003e= 2016\n- `1`: Antivirus enabled\n- `0`: Antivirus disabled\n#### Windows \u003c 2016\nAlways `1`, as Windows Defender Antivirus is always enabled when the Defender is enabled.\n### Labels\n- `signatures_age`: Age of the Virus signatures database\n- `signatures_version`: Version of the Virus signatures database\n\n\n## `windows_textfile_defender_antivirus_signature_last_update`:  gauge\n### Value\nUnix timestamp of the last update of the Virus signatures database\n### Labels\n- `signatures_age`: Age of the Virus signatures database\n- `signatures_version`: Version of the Virus signatures database\n\n\n## `windows_textfile_defender_antispyware_state`: gauge\nState of Windows Defender Antispyware\n### Value\n#### Windows \u003e= 2016\n- `1`: Antispyware enabled\n- `0`: Antispyware disabled\n#### Windows \u003c 2016\nAlways `1`, as Windows Defender Antispyware is always enabled when the Defender is enabled.\n### Labels\n- `signatures_age`: Age of the Spyware signatures database\n- `signatures_version`: Version of the Spyware signatures database\n\n\n## `windows_textfile_defender_antispyware_signature_last_update`: gauge\n### Value\nUnix timestamp of the last update of the Spyware signatures database\n### Labels\n- `signatures_age`: Age of the Spyware signatures database\n- `signatures_version`: Version of the Spyware signatures database\n\n\n# Todo\n- [ ] Place parameters in script to configure the output file\n- [ ] Check if the old windows metric can be enhanced and if it uses the right state Registry key","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumberly%2Fwindows-defender-textfile-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumberly%2Fwindows-defender-textfile-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumberly%2Fwindows-defender-textfile-exporter/lists"}