All URIs are relative to http://localhost/
| Method | HTTP request | Description |
|---|---|---|
| list | PUT api/v2/signatures.json_api | Get a list of Signatures |
| listDisabledExternalAccounts | GET api/v2/signatures/{signature_id}/disabled_external_accounts.json_api | Get a list of disabled External Accounts for a signature |
| listWithCustomRiskLevelForExternalAccount | PUT api/v2/external_accounts/{external_account_id}/signature_custom_risk_levels.json_api | Get A list of Signatures with default and custom risk levels for an External Account |
| removeCustomRiskLevelForExternalAccount | DELETE api/v2/external_accounts/{external_account_id}/signature_custom_risk_levels/{signature_id}.json_api | Remove a custom risk level to a Signature for an External Account |
| setCustomRiskLevelForExternalAccount | POST api/v2/external_accounts/{external_account_id}/signature_custom_risk_levels.json_api | Add a custom risk level to a Signature for an External Account |
| show | GET api/v2/signatures/{id}.json_api | Show a single Signature |
| updateCustomRiskLevelForExternalAccount | PATCH api/v2/external_accounts/{external_account_id}/signature_custom_risk_levels/{signature_id}.json_api | Update a Signature's custom risk level for an External Account |
PaginatedCollection list(include, filter, page)
Get a list of Signatures
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.SignaturesApi;
SignaturesApi apiInstance = new SignaturesApi();
String include = "include_example"; // String | Related objects that can be included in the response: service, suppressions See Including Objects for more information.
Map<String, String> filter = new HashMap(); // Map<String, String> | Filter Params for Searching. Equality Searchable Attributes: [id, risk_level, service_id, disabled, supports_user_attribution, name, identifier, description, resolution] Matching Searchable Attributes: [name, identifier, description, resolution] Limited Searchable Attributes: [service_provider_eq, service_provider_in, service_name_in] Sortable Attributes: [name, identifier, updated_at, created_at, id] Searchable Associations: [signature_copy, disabled_external_accounts, integrations, suppressions] 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.
String page = "{:number=>1,+:size=>20}"; // String | 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.
try {
PaginatedCollection result = apiInstance.list(include, filter, page);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SignaturesApi#list");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| include | String | Related objects that can be included in the response: service, suppressions See Including Objects for more information. | [optional] |
| filter | Map<String, String> | Filter Params for Searching. Equality Searchable Attributes: [id, risk_level, service_id, disabled, supports_user_attribution, name, identifier, description, resolution] Matching Searchable Attributes: [name, identifier, description, resolution] Limited Searchable Attributes: [service_provider_eq, service_provider_in, service_name_in] Sortable Attributes: [name, identifier, updated_at, created_at, id] Searchable Associations: [signature_copy, disabled_external_accounts, integrations, suppressions] 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 | String | 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}] |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
PaginatedCollection listDisabledExternalAccounts(signatureId, include, filter, page)
Get a list of disabled External Accounts for a signature
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.SignaturesApi;
SignaturesApi apiInstance = new SignaturesApi();
Integer signatureId = 56; // Integer | The ID of the signature to get the list of disabled external accounts for
String include = "include_example"; // String | Related objects that can be included in the response: organization, sub_organization, team, scan_intervals, disabled_signatures, suppressions, azure_group See Including Objects for more information.
Map<String, String> filter = new HashMap(); // Map<String, String> | Filter Params for Searching. Equality Searchable Attributes: [id, nickname, name] Matching Searchable Attributes: [nickname, name] Limited Searchable Attributes: [account_eq, arn_eq, provider_eq, subscription_id_eq] Sortable Attributes: [name, updated_at, created_at, id] Searchable Associations: [organization, sub_organization, team, azure_group, compliance_standards, disabled_signatures, integrations, scheduled_exports, suppressions] 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.
String page = "{:number=>1,+:size=>20}"; // String | 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.
try {
PaginatedCollection result = apiInstance.listDisabledExternalAccounts(signatureId, include, filter, page);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SignaturesApi#listDisabledExternalAccounts");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| signatureId | Integer | The ID of the signature to get the list of disabled external accounts for | |
| include | String | Related objects that can be included in the response: organization, sub_organization, team, scan_intervals, disabled_signatures, suppressions, azure_group See Including Objects for more information. | [optional] |
| filter | Map<String, String> | Filter Params for Searching. Equality Searchable Attributes: [id, nickname, name] Matching Searchable Attributes: [nickname, name] Limited Searchable Attributes: [account_eq, arn_eq, provider_eq, subscription_id_eq] Sortable Attributes: [name, updated_at, created_at, id] Searchable Associations: [organization, sub_organization, team, azure_group, compliance_standards, disabled_signatures, integrations, scheduled_exports, suppressions] 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 | String | 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}] |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
PaginatedCollection listWithCustomRiskLevelForExternalAccount(externalAccountId, include, filter, page)
Get A list of Signatures with default and custom risk levels for an External Account
Return only signatures that have a custom risk level set by searching with `filter:{custom_risk_level_present: 1}`
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.SignaturesApi;
SignaturesApi apiInstance = new SignaturesApi();
Integer externalAccountId = 56; // Integer | The ID of the external account to retrieve
String include = "include_example"; // String | Related objects that can be included in the response: service, suppressions See Including Objects for more information.
Map<String, String> filter = new HashMap(); // Map<String, String> | Filter Params for Searching. Equality Searchable Attributes: [id, risk_level, service_id, disabled, supports_user_attribution, name, identifier, description, resolution] Matching Searchable Attributes: [name, identifier, description, resolution] Limited Searchable Attributes: [custom_risk_level_present, service_provider_eq, service_provider_in, service_name_in] Sortable Attributes: [name, identifier, updated_at, created_at, id] Searchable Associations: [signature_copy, disabled_external_accounts, integrations, suppressions] 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.
String page = "{:number=>1,+:size=>20}"; // String | 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.
try {
PaginatedCollection result = apiInstance.listWithCustomRiskLevelForExternalAccount(externalAccountId, include, filter, page);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SignaturesApi#listWithCustomRiskLevelForExternalAccount");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| externalAccountId | Integer | The ID of the external account to retrieve | |
| include | String | Related objects that can be included in the response: service, suppressions See Including Objects for more information. | [optional] |
| filter | Map<String, String> | Filter Params for Searching. Equality Searchable Attributes: [id, risk_level, service_id, disabled, supports_user_attribution, name, identifier, description, resolution] Matching Searchable Attributes: [name, identifier, description, resolution] Limited Searchable Attributes: [custom_risk_level_present, service_provider_eq, service_provider_in, service_name_in] Sortable Attributes: [name, identifier, updated_at, created_at, id] Searchable Associations: [signature_copy, disabled_external_accounts, integrations, suppressions] 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 | String | 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}] |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
Meta removeCustomRiskLevelForExternalAccount(externalAccountId, signatureId)
Remove a custom risk level to a Signature for an External Account
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.SignaturesApi;
SignaturesApi apiInstance = new SignaturesApi();
Integer externalAccountId = 56; // Integer | The ID of the external account this signature custom risk level is for
Integer signatureId = 56; // Integer | The signature ID this signature custom risk level is for
try {
Meta result = apiInstance.removeCustomRiskLevelForExternalAccount(externalAccountId, signatureId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SignaturesApi#removeCustomRiskLevelForExternalAccount");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| externalAccountId | Integer | The ID of the external account this signature custom risk level is for | |
| signatureId | Integer | The signature ID this signature custom risk level is for |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
Signature setCustomRiskLevelForExternalAccount(externalAccountId, riskLevel, signatureId, include)
Add a custom risk level to a Signature for an External Account
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.SignaturesApi;
SignaturesApi apiInstance = new SignaturesApi();
Integer externalAccountId = 56; // Integer | The ID of the external account this signature custom risk level is for
String riskLevel = "riskLevel_example"; // String | The custom risk-level of the problem identified by the signature for this external_account. Valid values are low, medium, high
Integer signatureId = 56; // Integer | The signature ID this signature custom risk level is for
String include = "include_example"; // String | Related objects that can be included in the response: service, suppressions See Including Objects for more information.
try {
Signature result = apiInstance.setCustomRiskLevelForExternalAccount(externalAccountId, riskLevel, signatureId, include);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SignaturesApi#setCustomRiskLevelForExternalAccount");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| externalAccountId | Integer | The ID of the external account this signature custom risk level is for | |
| riskLevel | String | The custom risk-level of the problem identified by the signature for this external_account. Valid values are low, medium, high | [enum: low, medium, high] |
| signatureId | Integer | The signature ID this signature custom risk level is for | |
| include | String | Related objects that can be included in the response: service, suppressions See Including Objects for more information. | [optional] |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
Signature show(id, include)
Show a single Signature
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.SignaturesApi;
SignaturesApi apiInstance = new SignaturesApi();
Integer id = 56; // Integer | Signature ID
String include = "include_example"; // String | Related objects that can be included in the response: service, suppressions See Including Objects for more information.
try {
Signature result = apiInstance.show(id, include);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SignaturesApi#show");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Signature ID | |
| include | String | Related objects that can be included in the response: service, suppressions See Including Objects for more information. | [optional] |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
Signature updateCustomRiskLevelForExternalAccount(externalAccountId, signatureId, include, riskLevel)
Update a Signature's custom risk level for an External Account
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.SignaturesApi;
SignaturesApi apiInstance = new SignaturesApi();
Integer externalAccountId = 56; // Integer | The ID of the external account this signature custom risk level is for
Integer signatureId = 56; // Integer | The signature ID this signature custom risk level is for
String include = "include_example"; // String | Related objects that can be included in the response: service, suppressions See Including Objects for more information.
String riskLevel = "riskLevel_example"; // String | The custom risk-level of the problem identified by the signature for this external_account. Valid values are low, medium, high
try {
Signature result = apiInstance.updateCustomRiskLevelForExternalAccount(externalAccountId, signatureId, include, riskLevel);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SignaturesApi#updateCustomRiskLevelForExternalAccount");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| externalAccountId | Integer | The ID of the external account this signature custom risk level is for | |
| signatureId | Integer | The signature ID this signature custom risk level is for | |
| include | String | Related objects that can be included in the response: service, suppressions See Including Objects for more information. | [optional] |
| riskLevel | String | The custom risk-level of the problem identified by the signature for this external_account. Valid values are low, medium, high | [optional] [enum: low, medium, high] |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json