All URIs are relative to https://api.evident.io
| Method | HTTP request | Description |
|---|---|---|
| list | PUT /api/v2/compliance_standards.json_api | Get a list of Compliance Standards |
| show | GET /api/v2/compliance_standards/{id}.json_api | Show a single Compliance Standard |
PaginatedCollection list(include=include, filter=filter, page=page)
Get a list of Compliance Standards
from __future__ import print_statement
import time
import esp_sdk
from esp_sdk.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = esp_sdk.ComplianceStandardsApi()
include = 'include_example' # str | Related objects that can be included in the response: compliance_domains, compliance_controls See Including Objects for more information. (optional)
filter = {'key': 'filter_example'} # dict(str, str) | Filter Params for Searching. Equality Searchable Attributes: [id, name] Matching Searchable Attribute: [name] Sortable Attributes: [id, name] Searchable Associations: [compliance_controls, organizations] See Searching Lists for more information. See the filter parameter of the association's list action to see what attributes are searchable on each association. See Conditions on Relationships in Searching Lists for more information. (optional)
page = '{:number=>1,+:size=>20}' # str | Page Number and Page Size. Number is the page number of the collection to return, size is the number of items to return per page. (optional) (default to {:number=>1,+:size=>20})
try:
# Get a list of Compliance Standards
api_response = api_instance.list(include=include, filter=filter, page=page)
pprint(api_response)
except ApiException as e:
print("Exception when calling ComplianceStandardsApi->list: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| include | str | Related objects that can be included in the response: compliance_domains, compliance_controls See Including Objects for more information. | [optional] |
| filter | dict(str, str) | Filter Params for Searching. Equality Searchable Attributes: [id, name] Matching Searchable Attribute: [name] Sortable Attributes: [id, name] Searchable Associations: [compliance_controls, organizations] See Searching Lists for more information. See the filter parameter of the association's list action to see what attributes are searchable on each association. See Conditions on Relationships in Searching Lists for more information. | [optional] |
| page | str | Page Number and Page Size. Number is the page number of the collection to return, size is the number of items to return per page. | [optional] [default to {:number=>1,+:size=>20}] |
See https://github.com/EvidentSecurity/esp-sdk-python#set-your-hmac-security-keys
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ComplianceStandard show(id, include=include)
Show a single Compliance Standard
from __future__ import print_statement
import time
import esp_sdk
from esp_sdk.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = esp_sdk.ComplianceStandardsApi()
id = 56 # int | Compliance Standard ID
include = 'include_example' # str | Related objects that can be included in the response: compliance_domains, compliance_controls See Including Objects for more information. (optional)
try:
# Show a single Compliance Standard
api_response = api_instance.show(id, include=include)
pprint(api_response)
except ApiException as e:
print("Exception when calling ComplianceStandardsApi->show: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | Compliance Standard ID | |
| include | str | Related objects that can be included in the response: compliance_domains, compliance_controls See Including Objects for more information. | [optional] |
See https://github.com/EvidentSecurity/esp-sdk-python#set-your-hmac-security-keys
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]