python -mcattle_grid.auth¶
Usage:
Options:
python -mcattle_grid.auth block¶
Allows management of the level 0 blocklist of cattle_grid. These are the instances that you consider so bad you want them blocked on the lowest level possible.
Usage:
Options:
python -mcattle_grid.auth block add¶
Adds domain to the current list of domain blocks
Usage:
Options:
python -mcattle_grid.auth block compare¶
Compares the current block list with the one provided by source
Usage:
Options:
python -mcattle_grid.auth block empty¶
Sets the blocklist to the empty set
Usage:
Options:
python -mcattle_grid.auth block import¶
Imports the blocklist from source. By default the blocklist is merged with current one. By specifying the allow flag, one can overwrite the current blocklist.
Usage:
Options:
--source TEXT URL or file to import blocklist from
--overwrite Use to overwrite the existing blocklist instead of just
adding to it
--help Show this message and exit.
python -mcattle_grid.auth block list¶
Prints the current blockllist in alphabetical order
Usage:
Options:
python -mcattle_grid.auth block remove¶
Removes domain from the current list of domain blocks
Usage:
Options:
python -mcattle_grid.auth new-config¶
Creates a new authorization configuration, including generating a public and private key.
Argument is the actor_id for the fetch actor, e.g. http://cattle_grid/fetch_actor
Usage:
Options: