cf-audit-actions

command module
v1.85.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2026 License: Apache-2.0 Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

cf-audit-actions

Audit cloud foundry objects and do action when found a potential vulnerability or do not match condition For now only checking and disable ssh on app or space after a time limit has been made.

Installation

$ bash -c "$(curl -fsSL https://raw.github.com/orange-cloudfoundry/cf-audit-actions/master/bin/install.sh)"

Usage

Usage:
  cf-audit-actions [OPTIONS] <org-limiter | ssh | ssh-app>

Application Options:
  -a, --api=                 cf api endpoint
  -i, --client-id=           cf client id
  -s, --client-secret=       cf client id
  -u, --username=            cf username (if client-id can't bet set)'
  -p, --password=            cf password (if client-id can't bet set)
      --parallel=            how many parallel request can be made
  -k, --skip-ssl-validation  Skip ssl validation
  -v, --version              Show version

Help Options:
  -h, --help                 Show this help message

Available commands:
  org-limiter  Delete all apps which has been created after a period of time in an org
  ssh          Check if ssh is enabled in spaces and deactivate it if it reach the time limit
  ssh-app      Check if ssh is enabled in apps and deactivate it if it reach the time limit

Concourse pipelines

Pipeline are provided in /ci folder:

  • ssh audit and action on space:
fly set-pipeline \
    --pipeline ssh-space-audit-actions \
    --config ci/ssh/pipeline.yml \
    --load-vars-from ci/ssh/vars.yml
  • ssh audit and action on app:
fly set-pipeline \
    --pipeline ssh-app-audit-actions \
    --config ci/ssh-app/pipeline.yml \
    --load-vars-from ci/ssh-app/vars.yml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL