Skip to content

Serverless Vulnerabilities

The Serverless Vulnerabilities service collection provides operations for retrieving vulnerability data for serverless functions. Query and retrieve lambda vulnerabilities in SARIF format using Falcon Query Language filters.

LanguageLast Update
Pythonv1.6.5
PowerShell
Gov0.22.0
TypeScriptv0.6.0
Rustv0.7.1
Rubyv1.4.0


OperationDescription
GetCombinedVulnerabilitiesSARIF
get_vulnerabilities
Retrieve all lambda vulnerabilities that match the given query and return in the SARIF format

Retrieve all lambda vulnerabilities that match the given query and return in the SARIF format

Method GET
Route /lambdas/combined/vulnerabilities/sarif/v1
Scope Falcon Container Image: READ
PEP 8 get_vulnerabilities
filter query · string
Filter lambda vulnerabilities using a query in Falcon Query Language (FQL).Supported filters:
Available values (21)
application_nameapplication_name_versioncid
cloud_account_idcloud_account_namecloud_provider
cve_idcve_reachablecvss_base_score
exprt_ratingfirst_seen_timestampfunction_name
function_resource_idis_supportedis_valid_asset_id
layerregionruntime
severitytimestamptype
limit query · integer
The upper-bound on the number of records to retrieve.
offset query · integer
The offset from where to begin.
sort query · string
The fields to sort the records on. Supported columns:
Available values (18)
application_nameapplication_name_versioncid
cloud_account_idcloud_account_namecloud_provider
cve_idcvss_base_scoreexprt_rating
first_seen_timestampfunction_resource_idis_supported
layerregionruntime
severitytimestamptype
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ServerlessVulnerabilities
falcon = ServerlessVulnerabilities(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_vulnerabilities(filter="string",
limit=integer,
offset=integer,
sort="string")
print(response)
[
{
"$schema": "string",
"runs": [],
"version": "string"
}
]