Skip to content

Get FalconContainerVulnerability

bk-cs edited this page Jan 17, 2023 · 10 revisions

Get-FalconContainerVulnerability

SYNOPSIS

Retrieve known vulnerabilities for the provided image

DESCRIPTION

Requires 'Falcon Container CLI: Write'.

PARAMETERS

Name Type Min Max Allowed Pipeline PipelineByName Description
OsVersion String Operating system version
Package Object[] Key and value pairs to filter packages. Accepted properties include: 'layerindex', 'packageprovider', 'layerhash',

SYNTAX

Get-FalconContainerVulnerability [[-OsVersion] <String>] [[-Package] <Object[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

SDK Reference

falconpy

ReadImageVulnerabilities

USAGE

Request vulnerability results

$Package = @(
    @{
        Vendor = 'Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>'
        Product = 'mariadb-server-core-10.1'
        MajorVersion = '10.1.26-0+deb9u1'
        SoftwareArchitecture = 'amd64'
        PackageProvider = 'DPKG'
        PackageSource = 'mariadb-10.1 10.126-0+deb9u1'
        Status = 'install ok installed'
        LayerHash = '80f9a8427b1826f014f873dc471b6a89916ff79550bcd1c94aadd78c3f5bbdc7'
        LayerIndex = 1
    }
)
Get-FalconContainerVulnerability -OsVersion 'Debian GNU 9' -Package $Package

2023-01-17: PSFalcon v2.2.4

Clone this wiki locally