ironic/ironic/tests/unit
Julia Kreger 25cc871450 Block ability update callback_url
A malicious user with:

* API access normally reserved for the provisioning,
  cleaning, rescue networks.
* Insight about a node, such as a MAC address, or baremetal node
  UUID.
* Insight into the state of the node, such as the access provided
  to Compute API users, or other Bare Metal API users.

Can submit an erroneous ``heartbeat`` to the ironic-api endpoint
with a ``callback_url`` that is not of the actual intended agent.
This can potentially cause a rescue, cleaning, or deployment
operation to be derailed, or at worst commands to be sent to
to an endpoint the malicious user controls.

Story: 2006773
Task: 37295
Change-Id: I1a5e3c2b34d45c06fb74e82d0f30735ce9041914
(cherry picked from commit 931c125982)
2019-12-16 22:17:22 +00:00
..
api Block ability update callback_url 2019-12-16 22:17:22 +00:00
cmd Add check for object versions 2019-02-20 17:24:42 +00:00
common Mask secrets when logging in json_rpc 2019-10-22 09:18:20 +00:00
conductor Block ability update callback_url 2019-12-16 22:17:22 +00:00
conf Remove deprecated [keystone] config section 2018-06-11 13:30:50 +00:00
db Allow retrying PXE boot if it takes too long 2019-09-20 15:24:28 +02:00
dhcp Remove deprecated Neutron authentication options 2019-07-26 14:24:22 +02:00
drivers Block ability update callback_url 2019-12-16 22:17:22 +00:00
objects Truncate node text fields when too long 2019-04-19 10:27:00 +02:00
__init__.py Setup logging in unit tests 2017-04-13 20:47:10 +03:00
policy_fixture.py Add keystone policy support to Ironic 2016-08-04 12:43:20 +00:00
raid_constants.py Fix gate failure related to jsonschema 2019-09-09 17:25:21 +05:30
stubs.py Enhanced checksum support 2018-10-22 16:12:31 +08:00
test_base.py Fix issue with double mocking of utils.execute functions 2018-02-23 05:44:59 -08:00