Interface Threatintel
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
ThreatintelClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public interface Threatintel extends AutoCloseable
Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints.Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the Threat Intelligence documentation. This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)GetIndicatorResponse
getIndicator(GetIndicatorRequest request)
Get detailed information about a threat indicator with a given identifier.ThreatintelPaginators
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.ThreatintelWaiters
getWaiters()
Gets the pre-configured waiters available for resources for this service.ListIndicatorCountsResponse
listIndicatorCounts(ListIndicatorCountsRequest request)
Get the current count of each threat indicator type.ListIndicatorsResponse
listIndicators(ListIndicatorsRequest request)
Get a list of threat indicator summaries based on the search criteria.ListThreatTypesResponse
listThreatTypes(ListThreatTypesRequest request)
Gets a list of threat types that are available to use as parameters when querying indicators.void
refreshClient()
Rebuilds the client from scratch.void
setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).void
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).void
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).SummarizeIndicatorsResponse
summarizeIndicators(SummarizeIndicatorsRequest request)
Get indicator summaries based on advanced search criteria.void
useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
refreshClient
void refreshClient()
Rebuilds the client from scratch.Useful to refresh certificates.
-
setEndpoint
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).- Parameters:
endpoint
- The endpoint of the service.
-
getEndpoint
String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
-
setRegion
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpoint
after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Parameters:
region
- The region of the service.
-
setRegion
void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion
.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)
and then callsetEndpoint
.- Parameters:
regionId
- The public region ID.
-
useRealmSpecificEndpointTemplate
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
- Parameters:
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint template
-
getIndicator
GetIndicatorResponse getIndicator(GetIndicatorRequest request)
Get detailed information about a threat indicator with a given identifier.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/threatintelligence/GetIndicatorExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetIndicator API.
-
listIndicatorCounts
ListIndicatorCountsResponse listIndicatorCounts(ListIndicatorCountsRequest request)
Get the current count of each threat indicator type.Indicator counts can be sorted in ascending or descending order.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/threatintelligence/ListIndicatorCountsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListIndicatorCounts API.
-
listIndicators
ListIndicatorsResponse listIndicators(ListIndicatorsRequest request)
Get a list of threat indicator summaries based on the search criteria.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/threatintelligence/ListIndicatorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListIndicators API.
-
listThreatTypes
ListThreatTypesResponse listThreatTypes(ListThreatTypesRequest request)
Gets a list of threat types that are available to use as parameters when querying indicators.The list is sorted by threat type name according to the sort order query param.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/threatintelligence/ListThreatTypesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListThreatTypes API.
-
summarizeIndicators
SummarizeIndicatorsResponse summarizeIndicators(SummarizeIndicatorsRequest request)
Get indicator summaries based on advanced search criteria.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/threatintelligence/SummarizeIndicatorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use SummarizeIndicators API.
-
getWaiters
ThreatintelWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
-
getPaginators
ThreatintelPaginators getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterable
interface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Returns:
- The service paginators.
-
-