Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Definitions Update assets_query #1000

Merged
merged 1 commit into from
Jul 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions alsdkdefs/apis/assets_query/assets_query.v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1731,6 +1731,11 @@ paths:
source: |-
curl "https://api.cloudinsight.alertlogic.com/assets_query/v2/12345678/exposures?search=CVE-2016-5387" \
-H "x-aims-auth-token: $TOKEN" -H "accept: application/json"
- lang: Shell
label: Exposures filtered via custom search string
source: |-
curl "https://api.cloudinsight.alertlogic.com/assets_query/v2/12345678/exposures?search=cve:CVE-2016-5387" \
-H "x-aims-auth-token: $TOKEN" -H "accept: application/json"
- lang: Shell
label: Remediations sorted by Name ascending
source: |-
Expand Down
4 changes: 3 additions & 1 deletion alsdkdefs/apis/assets_query/parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -605,4 +605,6 @@ ExposuresSearch:
description: |-
A string which can be optionally passed to limit the set of returned items to those whose
name property contains the string passed. Search parameter is case insensitive and will attempt
to match any part of the name property.
to match any part of the target property. The default property to search is the name property, but
any property may be searched by including the property to be searched and a colon in the search string.
e.g. cve:CVE-2023 would search the CVE property for the string 'CVE-2023'
Loading