In other terms, which attribute must be tested or not.
Change-Id: I81d4270a41353aa1ec958aff74ee741e9d172fbc
"data": {
"subject_data_id": {
"name": "name of the data",
- "description": "description of the data"
+ "description": "description of the data (optional)"
}
}
}]
:param user_id: user ID who do the request
:request body: {
"name": "name of the data",
- "description": "description of the data"
+ "description": "description of the data (optional)"
}
:return: {
"policy_id": "policy_id1",
"data": {
"subject_data_id": {
"name": "name of the data",
- "description": "description of the data"
+ "description": "description of the data (optional)"
}
}
}
:param user_id: user ID who do the request
:return: [{
"result": "True or False",
- "message": "optional message"
+ "message": "optional message (optional)"
}]
:internal_api: delete_subject_data
"""
"data": {
"object_data_id": {
"name": "name of the data",
- "description": "description of the data"
+ "description": "description of the data (optional)"
}
}
}]
:param user_id: user ID who do the request
:request body: {
"name": "name of the data",
- "description": "description of the data"
+ "description": "description of the data (optional)"
}
:return: {
"policy_id": "policy_id1",
"data": {
"object_data_id": {
"name": "name of the data",
- "description": "description of the data"
+ "description": "description of the data (optional)"
}
}
}
:param user_id: user ID who do the request
:return: {
"result": "True or False",
- "message": "optional message"
+ "message": "optional message (optional)"
}
:internal_api: delete_object_data
"""
"data": {
"action_data_id": {
"name": "name of the data",
- "description": "description of the data"
+ "description": "description of the data (optional)"
}
}
}]
"data": {
"action_data_id": {
"name": "name of the data",
- "description": "description of the data"
+ "description": "description of the data (optional)"
}
}
}
:param user_id: user ID who do the request
:return: {
"result": "True or False",
- "message": "optional message"
+ "message": "optional message (optional)"
}
:internal_api: delete_action_data
"""
:return: {
"subject_category_id": {
"name": "name of the category",
- "description": "description of the category"
+ "description": "description of the category (optional)"
}
}
:internal_api: get_subject_categories
:param user_id: user ID who do the request
:request body: {
"name": "name of the category",
- "description": "description of the category"
+ "description": "description of the category (optional)"
}
:return: {
"subject_category_id": {
"name": "name of the category",
- "description": "description of the category"
+ "description": "description of the category (optional)"
}
}
:internal_api: add_subject_category
:param user_id: user ID who do the request
:return: {
"result": "True or False",
- "message": "optional message"
+ "message": "optional message (optional)"
}
:internal_api: delete_subject_category
"""
:return: {
"object_category_id": {
"name": "name of the category",
- "description": "description of the category"
+ "description": "description of the category (optional)"
}
}
:internal_api: get_object_categories
:param user_id: user ID who do the request
:request body: {
"name": "name of the category",
- "description": "description of the category"
+ "description": "description of the category (optional)"
}
:return: {
"object_category_id": {
"name": "name of the category",
- "description": "description of the category"
+ "description": "description of the category (optional)"
}
}
:internal_api: add_object_category
:param user_id: user ID who do the request
:return: {
"result": "True or False",
- "message": "optional message"
+ "message": "optional message (optional)"
}
:internal_api: delete_object_category
"""
:return: {
"action_category_id": {
"name": "name of the category",
- "description": "description of the category"
+ "description": "description of the category (optional)"
}
}
:internal_api: get_action_categories
:param user_id: user ID who do the request
:request body: {
"name": "name of the category",
- "description": "description of the category"
+ "description": "description of the category (optional)"
}
:return: {
"action_category_id": {
"name": "name of the category",
- "description": "description of the category"
+ "description": "description of the category (optional)"
}
}
:internal_api: add_action_category
:param user_id: user ID who do the request
:return: {
"result": "True or False",
- "message": "optional message"
+ "message": "optional message (optional)"
}
:internal_api: delete_action_category
"""
"meta_rules": {
"meta_rule_id1": {
"name": "name of the meta rule",
- "algorithm": "name of the meta rule algorithm",
"subject_categories": ["subject_category_id1",
"subject_category_id2"],
"object_categories": ["object_category_id1"],
:return: {
"model_id1": {
"name": "...",
- "description": "...",
+ "description": "... (optional)",
"meta_rules": ["meta_rule_id1", ]
}
}
:param user_id: user ID who do the request
:request body: {
"name": "...",
- "description": "...",
+ "description": "... (optional)",
"meta_rules": ["meta_rule_id1", ]
}
:return: {
"model_id1": {
"name": "...",
- "description": "...",
+ "description": "... (optional)",
"meta_rules": ["meta_rule_id1", ]
}
}
:param user_id: user ID who do the request
:return: {
"result": "True or False",
- "message": "optional message"
+ "message": "optional message (optional)"
}
:internal_api: delete_model
"""
:return: {
"model_id1": {
"name": "...",
- "description": "...",
+ "description": "... (optional)",
"meta_rules": ["meta_rule_id1", ]
}
}
"name": "...",
"security_pipeline": [...],
"keystone_project_id": "keystone_project_id1",
- "description": "...",
+ "description": "... (optional)",
}
}
:internal_api: get_pdp
"name": "...",
"security_pipeline": [...],
"keystone_project_id": "keystone_project_id1",
- "description": "...",
+ "description": "... (optional)",
}
:return: {
"pdp_id1": {
"name": "...",
"security_pipeline": [...],
"keystone_project_id": "keystone_project_id1",
- "description": "...",
+ "description": "... (optional)",
}
}
:internal_api: add_pdp
:param user_id: user ID who do the request
:return: {
"result": "True or False",
- "message": "optional message"
+ "message": "optional message (optional)"
}
:internal_api: delete_pdp
"""
"name": "...",
"security_pipeline": [...],
"keystone_project_id": "keystone_project_id1",
- "description": "...",
+ "description": "... (optional)",
}
}
:internal_api: update_pdp
"subject_id": {
"name": "name of the subject",
"keystone_id": "keystone id of the subject",
- "description": "a description"
+ "description": "a description (optional)"
}
}
:internal_api: get_subjects
:param user_id: user ID who do the request
:request body: {
"name": "name of the subject",
- "description": "description of the subject",
- "password": "password for the subject",
- "email": "email address of the subject"
+ "description": "description of the subject (optional)",
+ "password": "password for the subject (optional)",
+ "email": "email address of the subject (optional)"
}
:return: {
"subject_id": {
"name": "name of the subject",
"keystone_id": "keystone id of the subject",
- "description": "description of the subject",
- "password": "password for the subject",
- "email": "email address of the subject"
+ "description": "description of the subject (optional)",
+ "password": "password for the subject (optional)",
+ "email": "email address of the subject (optional)"
}
}
:internal_api: set_subject
:param user_id: user ID who do the request
:request body: {
"name": "name of the subject",
- "description": "description of the subject",
- "password": "password for the subject",
- "email": "email address of the subject"
+ "description": "description of the subject (optional)",
+ "password": "password for the subject (optional)",
+ "email": "email address of the subject (optional)"
}
:return: {
"subject_id": {
"name": "name of the subject",
"keystone_id": "keystone id of the subject",
- "description": "description of the subject",
- "password": "password for the subject",
- "email": "email address of the subject"
+ "description": "description of the subject (optional)",
+ "password": "password for the subject (optional)",
+ "email": "email address of the subject (optional)"
}
}
:internal_api: set_subject
"subject_id": {
"name": "name of the subject",
"keystone_id": "keystone id of the subject",
- "description": "description of the subject",
- "password": "password for the subject",
- "email": "email address of the subject"
+ "description": "description of the subject (optional)",
+ "password": "password for the subject (optional)",
+ "email": "email address of the subject (optional)"
}
}
:internal_api: delete_subject
:return: {
"object_id": {
"name": "name of the object",
- "description": "description of the object"
+ "description": "description of the object (optional)"
}
}
:internal_api: get_objects
:param user_id: user ID who do the request
:request body: {
"object_name": "name of the object",
- "object_description": "description of the object"
+ "object_description": "description of the object (optional)"
}
:return: {
"object_id": {
"name": "name of the object",
- "description": "description of the object"
+ "description": "description of the object (optional)"
}
}
:internal_api: set_object
:param user_id: user ID who do the request
:request body: {
"object_name": "name of the object",
- "object_description": "description of the object"
+ "object_description": "description of the object (optional)"
}
:return: {
"object_id": {
"name": "name of the object",
- "description": "description of the object"
+ "description": "description of the object (optional)"
}
}
:internal_api: set_object
:return: {
"object_id": {
"name": "name of the object",
- "description": "description of the object"
+ "description": "description of the object (optional)"
}
}
:internal_api: delete_object
:return: {
"action_id": {
"name": "name of the action",
- "description": "description of the action"
+ "description": "description of the action (optional)"
}
}
:internal_api: get_actions
:param user_id: user ID who do the request
:request body: {
"name": "name of the action",
- "description": "description of the action"
+ "description": "description of the action (optional)"
}
:return: {
"action_id": {
"name": "name of the action",
- "description": "description of the action"
+ "description": "description of the action (optional)"
}
}
:internal_api: set_action
:param user_id: user ID who do the request
:request body: {
"name": "name of the action",
- "description": "description of the action"
+ "description": "description of the action (optional)"
}
:return: {
"action_id": {
"name": "name of the action",
- "description": "description of the action"
+ "description": "description of the action (optional)"
}
}
:internal_api: set_action
:return: {
"action_id": {
"name": "name of the action",
- "description": "description of the action"
+ "description": "description of the action (optional)"
}
}
:internal_api: delete_action
"policy_id1": {
"name": "...",
"model_id": "...",
- "genre": "...",
- "description": "...",
+ "genre": "... (optional)",
+ "description": "... (optional)",
}
}
:internal_api: get_policies
:request body: {
"name": "...",
"model_id": "...",
- "genre": "...",
- "description": "...",
+ "genre": "... (optional)",
+ "description": "... (optional)",
}
:return: {
"policy_id1": {
"name": "...",
"model_id": "...",
- "genre": "...",
- "description": "...",
+ "genre": "... (optional)",
+ "description": "... (optional)",
}
}
:internal_api: add_policy
:param user_id: user ID who do the request
:return: {
"result": "True or False",
- "message": "optional message"
+ "message": "optional message (optional)"
}
:internal_api: delete_policy
"""
"policy_id1": {
"name": "...",
"model_id": "...",
- "genre": "...",
- "description": "...",
+ "genre": "... (optional)",
+ "description": "... (optional)",
}
}
:internal_api: update_policy