// Code generated by protoc-gen-policy. DO NOT EDIT.
// source: external/data_lifecycle/data_lifecycle.proto

package data_lifecycle

import policy "github.com/chef/automate/api/external/iam/v2/policy"

func init() {
	policy.MapMethodTo("/chef.automate.api.data_lifecycle.DataLifecycle/GetStatus", "dataLifecycle:status", "dataLifecycle:status:get", "GET", "/api/v0/data-lifecycle/status", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.data_lifecycle.DataLifecycle/SetConfig", "dataLifecycle:config", "dataLifecycle:config:update", "PUT", "/api/v0/data-lifecycle/config", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.data_lifecycle.DataLifecycle/Run", "dataLifecycle:run", "dataLifecycle:run:create", "POST", "/api/v0/data-lifecycle/run", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.data_lifecycle.DataLifecycle/GetInfraStatus", "dataLifecycle:infra:status", "dataLifecycle:infra:get", "GET", "/api/v0/data-lifecycle/infra/status", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.data_lifecycle.DataLifecycle/RunInfra", "dataLifecycle:infra:run", "dataLifecycle:infra:create", "POST", "/api/v0/data-lifecycle/infra/run", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.data_lifecycle.DataLifecycle/SetInfraConfig", "dataLifecycle:infra:config", "dataLifecycle:infra:update", "PUT", "/api/v0/data-lifecycle/infra/config", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.data_lifecycle.DataLifecycle/GetServicesStatus", "dataLifecycle:services:status", "dataLifecycle:services:get", "GET", "/api/v0/data-lifecycle/services/status", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.data_lifecycle.DataLifecycle/RunServices", "dataLifecycle:services:run", "dataLifecycle:services:create", "POST", "/api/v0/data-lifecycle/services/run", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.data_lifecycle.DataLifecycle/SetServicesConfig", "dataLifecycle:services:config", "dataLifecycle:services:update", "PUT", "/api/v0/data-lifecycle/services/config", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.data_lifecycle.DataLifecycle/GetEventFeedStatus", "dataLifecycle:eventFeed:status", "dataLifecycle:eventFeed:get", "GET", "/api/v0/data-lifecycle/event-feed/status", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.data_lifecycle.DataLifecycle/RunEventFeed", "dataLifecycle:eventFeed:run", "dataLifecycle:eventFeed:create", "POST", "/api/v0/data-lifecycle/event-feed/run", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.data_lifecycle.DataLifecycle/SetEventFeedConfig", "dataLifecycle:eventFeed:config", "dataLifecycle:eventFeed:update", "PUT", "/api/v0/data-lifecycle/event-feed/config", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.data_lifecycle.DataLifecycle/GetComplianceStatus", "dataLifecycle:compliance:status", "dataLifecycle:compliance:get", "GET", "/api/v0/data-lifecycle/compliance/status", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.data_lifecycle.DataLifecycle/RunCompliance", "dataLifecycle:compliance:run", "dataLifecycle:compliance:create", "POST", "/api/v0/data-lifecycle/compliance/run", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
	policy.MapMethodTo("/chef.automate.api.data_lifecycle.DataLifecycle/SetComplianceConfig", "dataLifecycle:compliance:config", "dataLifecycle:compliance:update", "PUT", "/api/v0/data-lifecycle/compliance/config", func(unexpandedResource string, input interface{}) string {
		return unexpandedResource
	})
}
