summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorGordon Chung <chungg@ca.ibm.com>2014-01-21 11:47:52 -0500
committerGordon Chung <chungg@ca.ibm.com>2014-02-03 10:51:32 -0500
commita6423817b6ca7d1746ae792e7b02889bd1f4814c (patch)
tree0701508285d0b04369d27cbb3cae48381bc5a512 /etc
parenteb9a747e3fae746393085215e7098a3b2104e3de (diff)
downloadpycadf-a6423817b6ca7d1746ae792e7b02889bd1f4814c.tar.gz
adjust typeURI to capture target better
update to fix nova audits. - change typeURI to record greater depth of api request. - add custom_actions to allow special case actions based on api path Change-Id: I2b33cf8cff796bdb135dd832c23f0e2ffdf90780 blueprint: audit-all-apis
Diffstat (limited to 'etc')
-rw-r--r--etc/pycadf/api_audit_map.conf104
1 files changed, 60 insertions, 44 deletions
diff --git a/etc/pycadf/api_audit_map.conf b/etc/pycadf/api_audit_map.conf
index 93794f6..4003f7a 100644
--- a/etc/pycadf/api_audit_map.conf
+++ b/etc/pycadf/api_audit_map.conf
@@ -3,52 +3,68 @@
# should match the endpoint type defined in service catalog
target_endpoint_type = None
+[custom_actions]
+enable = enable
+disable = disable
+delete = delete
+startup = start/startup
+shutdown = stop/shutdown
+reboot = start/reboot
+os-migrations/get = read
+os-server-password/post = update
+
# possible end path of api requests
-api_paths =
- add
- entries
- extensions
- limits
- servers
- metadata
- ips
- images
- flavors
- os-agents
- os-aggregates
- os-cloudpipe
- diagnostics
- os-fixed-ips
- os-extra_specs
- os-flavor-access
- os-floating-ip-dns
- os-floating-ips-bulk
- os-floating-ips
- os-hosts
- os-hypervisors
- os-instance-actions
- os-keypairs
- os-networks
- os-quota-sets
- os-security-groups
- os-security-group-rules
- os-server-password
- os-services
- os-simple-tenant-usage
- os-virtual-interfaces
- os-volume_attachments
- os-volumes
- os-volume-types
- os-snapshots
+[path_keywords]
+add = None
+action = None
+enable = None
+disable = None
+configure-project = None
+defaults = None
+delete = None
+detail = None
+diagnostics = None
+entries = entry
+extensions = alias
+flavors = flavor
+images = image
+ips = label
+limits = None
+metadata = key
+os-agents = os-agent
+os-aggregates = os-aggregate
+os-certificates = None
+os-cloudpipe = None
+os-fixed-ips = ip
+os-extra_specs = key
+os-flavor-access = None
+os-floating-ip-dns = domain
+os-floating-ips-bulk = host
+os-floating-ip-pools = None
+os-floating-ips = floating-ip
+os-hosts = host
+os-hypervisors = hypervisor
+os-instance-actions = instance-action
+os-keypairs = keypair
+os-migrations = None
+os-networks = network
+os-quota-sets = None
+os-security-groups = security-group
+os-security-group-rules = rule
+os-server-password = None
+os-services = None
+os-simple-tenant-usage = None
+os-virtual-interfaces = None
+os-volume_attachments = attachment
+os-volumes = volume
+os-volume-types = volume-type
+os-snapshots = snapshot
+reboot = None
+servers = server
+shutdown = None
+startup = None
+statistics = None
-[body_actions]
-changePassword = update
-reboot = update
-rebuild = update
-resize = update
-confirmResize = read
-revertResize = update
-createImage = create
# map endpoint type defined in service catalog to CADF typeURI
[service_endpoints]