Skip to content

Commit fe22576

Browse files
authored
Update FAQ item for LookupEvents' limitation
1 parent 050c9d2 commit fe22576

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ $ cloudtrail-cli --start-time 2023-02-01T00:00:00 --end-time 2023-02-01T01:00:00
3131
+--------------------------------------+------------+----------------------+----------+-------------------+-------------------------------+-------------------------------+-------------+-----------+----------+
3232
```
3333

34+
## :accessibility: FAQ
35+
36+
Why it would return unexpected results when multiple flags are set?
37+
38+
* [cloudtrail-cli](https://github.com/guessi/cloudtrail-cli) leverage [LookupEvents](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_LookupEvents.html) to retrieve events. Howerver, despite there is a `s` in the end of the API name and it does accept a list of `LookupAttributes`, but it doesn't change the limitation that stated in the API document - [Currently the list can contain only one item](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_LookupEvents.html#awscloudtrail-LookupEvents-request-LookupAttributes). Make sure to pass exactly one filter at a time to guarantee your result is expected.
39+
40+
3441
## 👷 Install
3542

3643
### For macOS/Linux users (Recommended)

0 commit comments

Comments
 (0)