From d9340d89887f1e01027d73b0076b577223c4b325 Mon Sep 17 00:00:00 2001 From: Rakesh H S Date: Wed, 20 Jan 2016 19:34:46 +0530 Subject: Enable cadf support for Heat Adds heat_api_audit_map.conf to enable cadf support for Heat. Closes-Bug: #1536483 Change-Id: Ic3e68748ab5440d2d21554b6cdf0d793fdbf38a9 --- doc/source/audit_maps.rst | 2 ++ etc/pycadf/heat_api_audit_map.conf | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 etc/pycadf/heat_api_audit_map.conf diff --git a/doc/source/audit_maps.rst b/doc/source/audit_maps.rst index e567a4e..8cadb57 100644 --- a/doc/source/audit_maps.rst +++ b/doc/source/audit_maps.rst @@ -27,6 +27,7 @@ services. Currently, pyCADF supplies the following audit mapping files: * `neutron_api_audit_map.conf`_ * `nova_api_audit_map.conf`_ * `trove_api_audit_map.conf`_ +* `heat_api_audit_map.conf`_ These files are hosted under the `etc/pycadf`_ directory of pyCADF. For more information on how to use these mapping files, refer to the `Audit middleware`_ @@ -40,3 +41,4 @@ section of the `keystonemiddleware`_ project. .. _`neutron_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/neutron_api_audit_map.conf .. _`nova_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/nova_api_audit_map.conf .. _`trove_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/trove_api_audit_map.conf +.. _`heat_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/heat_api_audit_map.conf \ No newline at end of file diff --git a/etc/pycadf/heat_api_audit_map.conf b/etc/pycadf/heat_api_audit_map.conf new file mode 100644 index 0000000..8c0e8e7 --- /dev/null +++ b/etc/pycadf/heat_api_audit_map.conf @@ -0,0 +1,32 @@ +[DEFAULT] +# default target endpoint type +# should match the endpoint type defined in service catalog +target_endpoint_type = None + +# possible end path of api requests +[path_keywords] +stacks = stack +resources = resource +preview = None +detail = None +abandon = None +snapshots = snapshot +restore = None +outputs = output +metadata = server +signal = None +events = event +template = None +template_versions = template_version +functions = None +validate = None +resource_types = resource_type +build_info = None +actions = None +software_configs = software_config +software_deployments = software_deployment +services = None + +# map endpoint type defined in service catalog to CADF typeURI +[service_endpoints] +orchestration = service/orchestration \ No newline at end of file -- cgit v1.2.1