Returns the history of a Security Hub CSPM finding
Source:R/securityhub_operations.R
securityhub_get_finding_history.RdReturns the history of a Security Hub CSPM finding. The history includes changes made to any fields in the Amazon Web Services Security Finding Format (ASFF) except top-level timestamp fields, such as the CreatedAt and UpdatedAt fields.
See https://www.paws-r-sdk.com/docs/securityhub_get_finding_history/ for full documentation.
Usage
securityhub_get_finding_history(
FindingIdentifier,
StartTime = NULL,
EndTime = NULL,
NextToken = NULL,
MaxResults = NULL
)Arguments
- FindingIdentifier
[required] Identifies which finding to get the finding history for.
- StartTime
A timestamp that indicates the start time of the requested finding history.
If you provide values for both
StartTimeandEndTime, Security Hub CSPM returns finding history for the specified time period. If you provide a value forStartTimebut not forEndTime, Security Hub CSPM returns finding history from theStartTimeto the time at which the API is called. If you provide a value forEndTimebut not forStartTime, Security Hub CSPM returns finding history from the CreatedAt timestamp of the finding to theEndTime. If you provide neitherStartTimenorEndTime, Security Hub CSPM returns finding history from theCreatedAttimestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results.For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.
- EndTime
An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.
If you provide values for both
StartTimeandEndTime, Security Hub CSPM returns finding history for the specified time period. If you provide a value forStartTimebut not forEndTime, Security Hub CSPM returns finding history from theStartTimeto the time at which the API is called. If you provide a value forEndTimebut not forStartTime, Security Hub CSPM returns finding history from the CreatedAt timestamp of the finding to theEndTime. If you provide neitherStartTimenorEndTime, Security Hub CSPM returns finding history from theCreatedAttimestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results.For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.
- NextToken
A token for pagination purposes. Provide
NULLas the initial value. In subsequent requests, provide the token included in the response to get up to an additional 100 results of finding history. If you don’t provideNextToken, Security Hub CSPM returns up to 100 results of finding history for each request.- MaxResults
The maximum number of results to be returned. If you don’t provide it, Security Hub CSPM returns up to 100 results of finding history.