Git Product home page Git Product logo

Comments (3)

derpadoo avatar derpadoo commented on August 20, 2024

@0xtavian Let me know how it works for you.

  1. Update the branch
git clone https://github.com/rackerlabs/scantron.git
git checkout issue-39-prefill-agent-api-key
  1. Switch utilize_static_api_token_across_agents to True in scantron/ansible-playbooks/group_vars/all
  2. Run the master playbook first (I need to update README info), so the API key can be generated. It dumps it to group_vars/static_api_key, so make sure that file is created.
  3. Run the agent playbook, which fills an agent_config.json.j2 template with the API key found in group_vars/static_api_key.

from scantron.

derpadoo avatar derpadoo commented on August 20, 2024

Added logic to randomize the user_agent in agent_config.json to avoid scan agent name collisions. So now, you'd never need to log into the agents to update anything. You'd still have to add the user on Master though since that's how scheduled scans are filtered. Does that seem reasonable?

from scantron.

derpadoo avatar derpadoo commented on August 20, 2024

https://github.com/rackerlabs/scantron/tree/issue-39-prefill-agent-api-key merged into master

from scantron.

Related Issues (20)

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.