GithubHelp home page GithubHelp logo

magarciasopo / ansible-role-nessus-agent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from singleplatform-eng/ansible-role-nessus-agent

0.0 2.0 0.0 23 KB

Role for Installing/Configuring Nessus Agent

Ruby 100.00%

ansible-role-nessus-agent's Introduction

Build Status

ansible-role-nessus-agent

Ansible role for installing and configuring Nessus Agent

https://galaxy.ansible.com/singleplatform-eng/nessus-agent/

Role Variables

  • nessus_agent_key: key used for linking with nessus host (this is a required variable)

  • nessus_agent_group: host group this agent should be added to when linking with nessus host (this is a required variable)

  • nessus_agent_host: nessus host to link with (default: cloud.tenable.com)

  • nessus_agent_port: nessus host port (default: 443)

  • nessus_agent_package: can be either a repository package, path to a file, or a URL (default: NessusAgent)

      nessus_agent_package: nessus-agent
      nessus_agent_package: /tmp/nessus-agent_6.8.1_amd64.deb
    

Example Playbook

- hosts: all
  become: yes
  roles:
     - role: ansible-role-nessus-agent
       nessus_agent_key: xxxxxxxxx
       tags: nessus-agent

Testing Locally

  1. Ensure you have a running Nessus Manager or tenable.io account and agent key.

  2. Install dependencies.

  3. Install Test Kitchen and dependencies.

    bundle
  4. Download Nessus Agent packages for CentOS 6, CentOS 7, and Ubuntu 14.04/16.04. Put them under test/integration/default/files/.

  5. Create credentials file.

    cp test/integration/default/group_vars/all/secrets.yml.example test/integration/default/group_vars/all/secrets.yml
  6. Fill out tests/group_vars/all/secrets.yml.

  7. Run integration test.

    kitchen create
    kitchen converge
    
    # when done, run
    kitchen destroy

Author Information

SinglePlatform Engineering

License

BSD 3-Clause

ansible-role-nessus-agent's People

Contributors

afeld avatar davidpanofsky avatar wwaltersp avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.