nova/nova/policies
Brianna Poulos 8c7ca368b1 Add trusted_image_certificates to REST API
This change adds support for the trusted_image_certificates parameter,
which is used to define a list of trusted certificate IDs that can be
used during image signature verification and certificate validation. The
parameter may contain a list of strings, each string representing the ID
of a trusted certificate. The list is restricted to a maximum of 50 IDs.
The list of certificate IDs will be stored in the trusted_certs field of
the instance InstanceExtra and will be used to verify the validity of
the signing certificate of a signed instance image.

The trusted_image_certificates request parameter can be passed to
the server create and rebuild APIs (if allowed by policy):

* POST /servers
* POST /servers/{server_id}/action (rebuild)

The following policy rules were added to restrict the usage of the
``trusted_image_certificates`` request parameter in the server create
and rebuild APIs:

* os_compute_api:servers:create:trusted_certs
* os_compute_api:servers:rebuild:trusted_certs

The trusted_image_certificates parameter will be in the response
body of the following APIs (not restricted by policy):

* GET /servers/detail
* GET /servers/{server_id}
* PUT /servers/{server_id}
* POST /servers/{server_id}/action (rebuild)

APIImpact

Implements blueprint: nova-validate-certificates
Change-Id: Iedd3fea0e86648fae364f075915555dcb2c4f199
2018-06-13 15:52:59 -04:00
..
__init__.py Remove support for /os-virtual-interfaces REST API 2018-06-06 21:14:39 +00:00
admin_actions.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
admin_password.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
agents.py Fix indentation in policy doc 2017-07-18 10:06:23 +03:00
aggregates.py Consistent policies 2017-07-17 16:45:41 -04:00
assisted_volume_snapshots.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
attach_interfaces.py Consistent policies 2017-07-17 16:45:41 -04:00
availability_zone.py trivial: Fix few policy doc 2018-02-01 03:04:00 +00:00
baremetal_nodes.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
base.py Update policy descriptions for base. 2017-07-17 17:14:35 -04:00
cells.py Consistent policies 2017-07-17 16:45:41 -04:00
cells_scheduler.py Use oslo.polcy DocumentedRuleDefault 2017-07-13 13:02:57 -04:00
config_drive.py Deprecate API extensions policies 2017-12-07 04:05:58 +00:00
console_auth_tokens.py Consistent policies 2017-07-17 16:45:41 -04:00
console_output.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
consoles.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
create_backup.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
deferred_delete.py Consistent policies 2017-07-17 16:45:41 -04:00
evacuate.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
extended_availability_zone.py Deprecate API extensions policies 2017-12-07 04:05:58 +00:00
extended_server_attributes.py policies: Fix Sphinx issues 2017-08-03 16:06:14 -04:00
extended_status.py Deprecate API extensions policies 2017-12-07 04:05:58 +00:00
extended_volumes.py Deprecate API extensions policies 2017-12-07 04:05:58 +00:00
extensions.py Consistent policies 2017-07-17 16:45:41 -04:00
fixed_ips.py Consistent policies 2017-07-17 16:45:41 -04:00
flavor_access.py Deprecate API extensions policies 2017-12-07 04:05:58 +00:00
flavor_extra_specs.py Update os_compute_api:os-flavor-extra-specs:index docs for 2.61 2018-04-14 08:42:58 -04:00
flavor_manage.py Add microversion to allow setting flavor description 2017-11-15 22:10:39 +00:00
flavor_rxtx.py Deprecate API extensions policies 2017-12-07 04:05:58 +00:00
flavors.py Deprecate unused policy from policy doc 2017-05-23 00:13:34 +08:00
floating_ip_dns.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
floating_ip_pools.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
floating_ips.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
floating_ips_bulk.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
hide_server_addresses.py Deprecate configurable Hide Server Address Feature 2017-12-07 08:45:18 +00:00
hosts.py Consistent policies 2017-07-17 16:45:41 -04:00
hypervisors.py Fix indentation in policy doc 2017-07-18 10:06:23 +03:00
image_size.py Deprecate API extensions policies 2017-12-07 04:05:58 +00:00
instance_actions.py Add host/hostId to instance action events API 2018-04-26 14:17:02 +00:00
instance_usage_audit_log.py Consistent policies 2017-07-17 16:45:41 -04:00
ips.py Consistent policies 2017-07-17 16:45:41 -04:00
keypairs.py Deprecate API extensions policies 2017-12-07 04:05:58 +00:00
limits.py Consistent policies 2017-07-17 16:45:41 -04:00
lock_server.py Consistent policies 2017-07-17 16:45:41 -04:00
migrate_server.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
migrations.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
multinic.py Consistent policies 2017-07-17 16:45:41 -04:00
networks.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
networks_associate.py Consistent policies 2017-07-17 16:45:41 -04:00
pause_server.py Consistent policies 2017-07-17 16:45:41 -04:00
quota_class_sets.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
quota_sets.py Merge "Change default policy to view quota details" 2017-07-21 20:02:20 +00:00
remote_consoles.py Consistent policies 2017-07-17 16:45:41 -04:00
rescue.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
security_group_default_rules.py Consistent policies 2017-07-17 16:45:41 -04:00
security_groups.py Deprecate API extensions policies 2017-12-07 04:05:58 +00:00
server_diagnostics.py Consistent policies 2017-07-17 16:45:41 -04:00
server_external_events.py Consistent policies 2017-07-17 16:45:41 -04:00
server_groups.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
server_metadata.py trivial: Fix few policy doc 2018-02-01 03:04:00 +00:00
server_password.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
server_tags.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
server_usage.py Deprecate API extensions policies 2017-12-07 04:05:58 +00:00
servers.py Add trusted_image_certificates to REST API 2018-06-13 15:52:59 -04:00
servers_migrations.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
services.py Use uuid for id in os-services API 2017-07-18 15:39:57 -04:00
shelve.py Consistent policies 2017-07-17 16:45:41 -04:00
simple_tenant_usage.py Consistent policies 2017-07-17 16:45:41 -04:00
suspend_server.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00
tenant_networks.py Consistent policies 2017-07-17 16:45:41 -04:00
used_limits.py Consistent policies 2017-07-17 16:45:41 -04:00
volumes.py Fix indentation in policy doc 2017-07-18 10:06:23 +03:00
volumes_attachments.py Remove 'create_rule_default' 2017-07-13 13:06:01 -04:00