ironic/ironic/objects
Julia Kreger bb3b2349f9 Pre-shared agent token
In order to improve security of the lookup/heartbeat
endpoints, we need to generate and provide temporary tokens
to the initial callers, if supported, to facilitate the
verification of commands.

This is the first patch in an entire series which utimately
enables the endpoint communication to be better secured.

The idea behind this started in private story 2006634 which
is locked as a security related filing covering multiple
aspects of ironic/ironic-python-agent interaction centered
around miss-use and generally exposed endpoints. That story
will remain marked as a private bug because it has several
different items covered, some of which did not prove to be
actually exploitable, but spawned stories 2006777, 2006773,
2007025, and is ultimately similar to Story 1526748.

Operationally this is a minimally invasive security
enhancement to lay the foundation to harden interactions
with the agent. This will take place over a series of
patches to both Ironic and the Ironic-Python-Agent.

Also see "Security of /heartbeat and /lookup endpoints"
in http://lists.openstack.org/pipermail/openstack-discuss/2019-November/010789.html

Story: 2007025
Task: 37818

Change-Id: I0118007cac3d6548e9d41c5e615a819150b6ef1a
2020-02-20 14:33:32 -08:00
..
__init__.py Deploy templates: data model, DB API & objects 2019-02-13 19:26:21 +00:00
allocation.py Add owner to allocations and create relevant policies 2019-12-10 19:00:33 +00:00
base.py Use max version of an object 2018-08-02 13:43:51 +00:00
bios.py BIOS Settings: add sync_node_setting 2018-06-20 15:15:01 +08:00
chassis.py [trivial] Fix argument descriptions 2017-07-10 14:12:56 +00:00
conductor.py Expose conductors: db and rpc 2018-11-29 10:25:16 +08:00
deploy_template.py Deploy templates: API & notifications 2019-03-04 10:30:16 +00:00
fields.py Stop using six library 2019-12-23 09:38:25 +01:00
indirection.py Remove cyclic import between rpcapi and objects.base 2016-09-13 15:55:44 +01:00
node.py Pre-shared agent token 2020-02-20 14:33:32 -08:00
notification.py Fix W504 errors 2018-05-09 06:11:30 -07:00
port.py Allow node owners to administer associated ports 2020-01-02 15:12:43 +00:00
portgroup.py Remove old online migration codes 2019-11-18 14:37:49 +08:00
trait.py Support nested objects and object lists in as_dict 2018-02-22 00:29:58 +00:00
volume_connector.py Add CRUD notification objects for volume connector and volume target 2017-06-28 11:13:00 +09:00
volume_target.py Add CRUD notification objects for volume connector and volume target 2017-06-28 11:13:00 +09:00