{"id":20706699,"url":"https://github.com/ReconInfoSec/ansible-greynoise","last_synced_at":"2025-05-10T20:30:51.710Z","repository":{"id":122401804,"uuid":"181800476","full_name":"ReconInfoSec/ansible-greynoise","owner":"ReconInfoSec","description":"Ansible modules for the GreyNoise API","archived":false,"fork":false,"pushed_at":"2020-02-24T16:47:56.000Z","size":19,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-17T01:28:45.821Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ReconInfoSec.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}},"created_at":"2019-04-17T02:14:30.000Z","updated_at":"2023-09-21T14:32:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3516634-025a-4ed1-9435-3431ced764df","html_url":"https://github.com/ReconInfoSec/ansible-greynoise","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReconInfoSec%2Fansible-greynoise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReconInfoSec%2Fansible-greynoise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReconInfoSec%2Fansible-greynoise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReconInfoSec%2Fansible-greynoise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ReconInfoSec","download_url":"https://codeload.github.com/ReconInfoSec/ansible-greynoise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253480269,"owners_count":21915245,"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":[],"created_at":"2024-11-17T01:23:52.292Z","updated_at":"2025-05-10T20:30:51.704Z","avatar_url":"https://github.com/ReconInfoSec.png","language":"Python","funding_links":[],"categories":["Integrations and plugins"],"sub_categories":[],"readme":"# ansible-greynoise\n\nAnsible modules for the [GreyNoise](https://github.com/GreyNoise-Intelligence) API\n\nA full example playbook can be found in `main.yml`.\n\n`ansible-playbook main.yml -vvvv`\n\n### Modules\n\n* greynoise\n  * list_tags\n  * query_ip\n  * query_tag\n\n### Examples\n\n```\n- name: List all tags\n  greynoise:\n    action: list_tags\n  register: results\n\n- name: Query IP with GreyNoise\n  greynoise:\n    action: query_ip\n    ip: \"178.153.38.136\"\n    key: \"{{ greynoise_api_key }}\"\n  register: results\n\n- name: Show name and category with intention malicious from previous results\n  debug:\n    msg: \"{{ item.name }} - {{ item.category }}\"\n  with_items:\n    - \"{{ results.json.records }}\"\n  when: item.intention == \"malicious\"\n\n- name: Query tag with GreyNoise\n  greynoise:\n    action: query_tag\n    tag: \"PHP_WORM\"\n    key: \"{{ greynoise_api_key }}\"\n  register: results\n\n- name: Show IP and organization with intention malicious from previous results\n  debug:\n    msg: \"{{ item.ip }} - {{ item.metadata.org }}\"\n  with_items:\n    - \"{{ results.json.records }}\"\n  when: item.intention == \"malicious\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FReconInfoSec%2Fansible-greynoise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FReconInfoSec%2Fansible-greynoise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FReconInfoSec%2Fansible-greynoise/lists"}