Skip to content

Migrate SSH credentials collector to a plugin #3169

@mssalvatore

Description

@mssalvatore

Description

Migrate the SSH credentials collector to a plugin.#3167
Completion of this issue closes #1882

Tasks

  • Modify SSHKeypair.public_key to be optional (0d) @ilija-lazoroski
  • Migrate the existing collector to a plugin (0d) @mssalvatore
  • Refactor flawed logic (0.25d) @mssalvatore
    • Address TODOs in code
    • Redesign the search file algorithm.
      • Use the passwd library to identify all home directories and .ssh directories
      • For each .ssh directory find all private key files (See this for example how to identify private keys)
      • For each private key attempt to identify a public key (Note: Each private key may not have a public key)
  • Remove the hard-coded SSH credentials collector plugin (0d)
  • Add a jenkins job to build the plugin. @mssalvatore
  • Add the plugin artifact to the Island build jobs
  • Remove any references to hard-coded credentials collectors, their manifests, etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions