image-scanner-with-trivy 1.2.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -3518,7 +3518,7 @@
3518
3518
  },
3519
3519
  "name": "image-scanner-with-trivy",
3520
3520
  "readme": {
3521
- "markdown": "# image-scanner-with-trivy\n\n## Detail Pages\n\nThe detail blog is [here](https://dev.to/aws-builders/container-image-scanning-with-trivy-in-aws-cdk-151h).\n\nTo my surprise, this library was featured on the ecosystem page of [Trivy's official documentation](https://aquasecurity.github.io/trivy/latest/ecosystem/ide/#image-scanner-with-trivy-community)!\n\n## What is\n\nThis is an AWS CDK Construct that allows you to **scan container images with Trivy in CDK deployment layer**.\n\nIf it detects vulnerabilities, it can **prevent the image from being pushed to the ECR for the application**.\n\nSince it takes an `imageUri` for ECR as an argument, it can also be used to **simply scan an existing image in the repository**.\n\n## Trivy\n\n[Trivy](https://github.com/aquasecurity/trivy) is a comprehensive and versatile security scanner.\n\n## Usage\n\n- Install\n\n```sh\nnpm install image-scanner-with-trivy\n```\n\n- CDK Code\n\n```ts\nimport { ImageScannerWithTrivy } from 'image-scanner-with-trivy';\n\nconst repository = new Repository(this, 'ImageRepository', {\n removalPolicy: RemovalPolicy.DESTROY,\n autoDeleteImages: true,\n});\n\nconst image = new DockerImageAsset(this, 'DockerImage', {\n directory: resolve(__dirname, './'),\n});\n\n// Add properties you want for trivy options (ignoreUnfixed, severity, scanners, trivyIgnore, etc).\nconst imageScanner = new ImageScannerWithTrivy(this, 'ImageScannerWithTrivy', {\n imageUri: image.imageUri,\n repository: image.repository,\n});\n\n// By adding `addDependency`, if the vulnerabilities are detected by `ImageScannerWithTrivy`, the following `ECRDeployment` will not be executed, deployment will fail.\nconst ecrDeployment = new ECRDeployment(this, 'DeployImage', {\n src: new DockerImageName(image.imageUri),\n dest: new DockerImageName(`${repository.repositoryUri}:latest`),\n});\necrDeployment.node.addDependency(imageScanner);\n```\n\n## API Reference\n\nAPI Reference is [here](./API.md#api-reference-).\n"
3521
+ "markdown": "# image-scanner-with-trivy\n\n## Detail Pages\n\nThe detail blog is [here](https://dev.to/aws-builders/container-image-scanning-with-trivy-in-aws-cdk-151h).\n\nTo my surprise, this library was featured on the ecosystem page of [Trivy's official documentation](https://aquasecurity.github.io/trivy/latest/ecosystem/ide/#image-scanner-with-trivy-community)!\n\n## What is\n\nThis is an AWS CDK Construct that allows you to **scan container images with Trivy in CDK deployment layer**.\n\nIf it detects vulnerabilities, it can **prevent the image from being pushed to the ECR for the application**.\n\nSince it takes an `imageUri` for ECR as an argument, it can also be used to **simply scan an existing image in the repository**.\n\n## Trivy\n\n[Trivy](https://github.com/aquasecurity/trivy) is a comprehensive and versatile security scanner.\n\n## Usage\n\n### Install\n\n```sh\nnpm install image-scanner-with-trivy\n```\n\n### CDK Code\n\nThe following code is a minimal example.\n\n```ts\nimport { ImageScannerWithTrivy } from 'image-scanner-with-trivy';\n\nconst repository = new Repository(this, 'ImageRepository', {\n removalPolicy: RemovalPolicy.DESTROY,\n autoDeleteImages: true,\n});\n\nconst image = new DockerImageAsset(this, 'DockerImage', {\n directory: resolve(__dirname, './'),\n});\n\n// Add properties you want for trivy options (ignoreUnfixed, severity, scanners, trivyIgnore, etc).\nconst imageScanner = new ImageScannerWithTrivy(this, 'ImageScannerWithTrivy', {\n imageUri: image.imageUri,\n repository: image.repository,\n});\n\n// By adding `addDependency`, if the vulnerabilities are detected by `ImageScannerWithTrivy`, the following `ECRDeployment` will not be executed, deployment will fail.\nconst ecrDeployment = new ECRDeployment(this, 'DeployImage', {\n src: new DockerImageName(image.imageUri),\n dest: new DockerImageName(`${repository.repositoryUri}:latest`),\n});\necrDeployment.node.addDependency(imageScanner);\n```\n\n### Scan Logs Output\n\nIf you output the scan logs to other than the default log group, you can specify the `scanLogsOutput` option.\n\nThis option is useful when you want to choose where to output the scan logs.\n\nCurrently, CloudWatch Logs is only supported as an output destination.\n\n```ts\nimport { ImageScannerWithTrivy, ScanLogsOutput } from 'image-scanner-with-trivy';\n\nconst repository = new Repository(this, 'ImageRepository', {\n removalPolicy: RemovalPolicy.DESTROY,\n autoDeleteImages: true,\n});\n\nconst image = new DockerImageAsset(this, 'DockerImage', {\n directory: resolve(__dirname, './'),\n});\n\nconst imageScanner = new ImageScannerWithTrivy(this, 'ImageScannerWithTrivy', {\n imageUri: image.imageUri,\n repository: image.repository,\n // Use `ScanLogsOutput.cloudWatchLogs` method to specify the log group.\n scanLogsOutput: ScanLogsOutput.cloudWatchLogs({ logGroup: new LogGroup(this, 'LogGroup') }),\n});\n```\n\n### Default Log Group\n\nIf you customize the default log group for Scanner Lambda, you can specify the `defaultLogGroupRemovalPolicy` and `defaultLogGroupRetentionDays` options.\nCurrently, only changing the removal policy and retention days are supported.\n\nIf the default log group is already created in your AWS Account and you specify the `defaultLogGroupRemovalPolicy` and `defaultLogGroupRetentionDays` options, the deployment will fail because of a conflict with the log group name.\n\n```ts\nimport { ImageScannerWithTrivy } from 'image-scanner-with-trivy';\n\nconst repository = new Repository(this, 'ImageRepository', {\n removalPolicy: RemovalPolicy.DESTROY,\n autoDeleteImages: true,\n});\n\nconst image = new DockerImageAsset(this, 'DockerImage', {\n directory: resolve(__dirname, './'),\n});\n\nnew ImageScannerWithTrivy(this, 'ImageScannerWithTrivy', {\n imageUri: image.imageUri,\n repository: image.repository,\n // Change the default log group removal policy to `Destroy`.\n defaultLogGroupRemovalPolicy: RemovalPolicy.DESTROY,\n // Change the default log group retention days to `One Year`.\n defaultLogGroupRetentionDays: RetentionDays.ONE_YEAR,\n});\n```\n\nIf you use ImageScannerWithTrivy construct multiple times in the same stack, you have to set the same values for `defaultLogGroupRemovalPolicy` and `defaultLogGroupRetentionDays` for each construct.\nWhen you set the different values for each construct, the first one will be applied to all ImageScannerWithTrivy constructs in the same stack and warning message will be displayed.\n\nThe following code will produce warning message because of the different values of `defaultLogGroupRemovalPolicy` and `defaultLogGroupRetentionDays` for each construct.\n\n```ts\nimport { ImageScannerWithTrivy, ScanLogsOutput } from 'image-scanner-with-trivy';\n\nconst repository = new Repository(this, 'ImageRepository', {\n removalPolicy: RemovalPolicy.DESTROY,\n autoDeleteImages: true,\n});\n\nconst image = new DockerImageAsset(this, 'DockerImage', {\n directory: resolve(__dirname, './'),\n});\n\nnew ImageScannerWithTrivy(this, 'ImageScannerWithTrivy', {\n imageUri: image.imageUri,\n repository: image.repository,\n // The following options are applied to all ImageScannerWithTrivy constructs in the same stack.\n defaultLogGroupRemovalPolicy: RemovalPolicy.DESTROY,\n defaultLogGroupRetentionDays: RetentionDays.ONE_YEAR,\n});\n\n// NG example\n// Once you specify the defaultLogGroupRemovalPolicy and defaultLogGroupRetentionDays, you have to set the same values for each construct.\nnew ImageScannerWithTrivy(this, 'ImageScannerWithTrivyWithDifferentDefaultLogGroupOptions', {\n imageUri: image.imageUri,\n repository: image.repository,\n // The following options are different from the above construct, and warning message will be displayed when synthesizing the stack.\n defaultLogGroupRemovalPolicy: RemovalPolicy.RETAIN, // This should be `RemovalPolicy.DESTROY` as the above construct.\n defaultLogGroupRetentionDays: RetentionDays.ONE_MONTH, // This should be `RetentionDays.ONE_YEAR` as the above construct.\n});\nnew ImageScannerWithTrivy(this, 'ImageScannerWithTrivyWithNoDefaultLogGroupOptions', {\n imageUri: image.imageUri,\n repository: image.repository,\n // You should specify the defaultLogGroupRemovalPolicy and defaultLogGroupRetentionDays if you have already set the values.\n});\n```\n\n## API Reference\n\nAPI Reference is [here](./API.md#api-reference-).\n"
3522
3522
  },
3523
3523
  "repository": {
3524
3524
  "type": "git",
@@ -3531,6 +3531,76 @@
3531
3531
  }
3532
3532
  },
3533
3533
  "types": {
3534
+ "image-scanner-with-trivy.CloudWatchLogsOutputOptions": {
3535
+ "assembly": "image-scanner-with-trivy",
3536
+ "datatype": true,
3537
+ "docs": {
3538
+ "stability": "stable",
3539
+ "summary": "Output configuration for scan logs to CloudWatch Logs."
3540
+ },
3541
+ "fqn": "image-scanner-with-trivy.CloudWatchLogsOutputOptions",
3542
+ "interfaces": [
3543
+ "image-scanner-with-trivy.ScanLogsOutputOptions"
3544
+ ],
3545
+ "kind": "interface",
3546
+ "locationInModule": {
3547
+ "filename": "src/types.ts",
3548
+ "line": 18
3549
+ },
3550
+ "name": "CloudWatchLogsOutputOptions",
3551
+ "properties": [
3552
+ {
3553
+ "abstract": true,
3554
+ "docs": {
3555
+ "stability": "stable"
3556
+ },
3557
+ "immutable": true,
3558
+ "locationInModule": {
3559
+ "filename": "src/types.ts",
3560
+ "line": 19
3561
+ },
3562
+ "name": "logGroupName",
3563
+ "type": {
3564
+ "primitive": "string"
3565
+ }
3566
+ }
3567
+ ],
3568
+ "symbolId": "src/types:CloudWatchLogsOutputOptions"
3569
+ },
3570
+ "image-scanner-with-trivy.CloudWatchLogsOutputProps": {
3571
+ "assembly": "image-scanner-with-trivy",
3572
+ "datatype": true,
3573
+ "docs": {
3574
+ "stability": "stable",
3575
+ "summary": "Configuration for scan logs output to CloudWatch Logs log group."
3576
+ },
3577
+ "fqn": "image-scanner-with-trivy.CloudWatchLogsOutputProps",
3578
+ "kind": "interface",
3579
+ "locationInModule": {
3580
+ "filename": "src/image-scanner-with-trivy.ts",
3581
+ "line": 70
3582
+ },
3583
+ "name": "CloudWatchLogsOutputProps",
3584
+ "properties": [
3585
+ {
3586
+ "abstract": true,
3587
+ "docs": {
3588
+ "stability": "stable",
3589
+ "summary": "The log group to output scan logs."
3590
+ },
3591
+ "immutable": true,
3592
+ "locationInModule": {
3593
+ "filename": "src/image-scanner-with-trivy.ts",
3594
+ "line": 74
3595
+ },
3596
+ "name": "logGroup",
3597
+ "type": {
3598
+ "fqn": "aws-cdk-lib.aws_logs.ILogGroup"
3599
+ }
3600
+ }
3601
+ ],
3602
+ "symbolId": "src/image-scanner-with-trivy:CloudWatchLogsOutputProps"
3603
+ },
3534
3604
  "image-scanner-with-trivy.ImageConfigScanners": {
3535
3605
  "assembly": "image-scanner-with-trivy",
3536
3606
  "docs": {
@@ -3542,7 +3612,7 @@
3542
3612
  "kind": "enum",
3543
3613
  "locationInModule": {
3544
3614
  "filename": "src/image-scanner-with-trivy.ts",
3545
- "line": 45
3615
+ "line": 62
3546
3616
  },
3547
3617
  "members": [
3548
3618
  {
@@ -3574,7 +3644,7 @@
3574
3644
  },
3575
3645
  "locationInModule": {
3576
3646
  "filename": "src/image-scanner-with-trivy.ts",
3577
- "line": 214
3647
+ "line": 315
3578
3648
  },
3579
3649
  "parameters": [
3580
3650
  {
@@ -3600,7 +3670,7 @@
3600
3670
  "kind": "class",
3601
3671
  "locationInModule": {
3602
3672
  "filename": "src/image-scanner-with-trivy.ts",
3603
- "line": 213
3673
+ "line": 314
3604
3674
  },
3605
3675
  "name": "ImageScannerWithTrivy",
3606
3676
  "symbolId": "src/image-scanner-with-trivy:ImageScannerWithTrivy"
@@ -3615,7 +3685,7 @@
3615
3685
  "kind": "interface",
3616
3686
  "locationInModule": {
3617
3687
  "filename": "src/image-scanner-with-trivy.ts",
3618
- "line": 50
3688
+ "line": 118
3619
3689
  },
3620
3690
  "name": "ImageScannerWithTrivyProps",
3621
3691
  "properties": [
@@ -3628,7 +3698,7 @@
3628
3698
  "immutable": true,
3629
3699
  "locationInModule": {
3630
3700
  "filename": "src/image-scanner-with-trivy.ts",
3631
- "line": 54
3701
+ "line": 122
3632
3702
  },
3633
3703
  "name": "imageUri",
3634
3704
  "type": {
@@ -3645,13 +3715,51 @@
3645
3715
  "immutable": true,
3646
3716
  "locationInModule": {
3647
3717
  "filename": "src/image-scanner-with-trivy.ts",
3648
- "line": 61
3718
+ "line": 129
3649
3719
  },
3650
3720
  "name": "repository",
3651
3721
  "type": {
3652
3722
  "fqn": "aws-cdk-lib.aws_ecr.IRepository"
3653
3723
  }
3654
3724
  },
3725
+ {
3726
+ "abstract": true,
3727
+ "docs": {
3728
+ "default": "- Scanner Lambda creates the default log group(`/aws/lambda/${functionName}`).",
3729
+ "remarks": "If you use ImageScannerWithTrivy construct multiple times in the same stack, you cannot set different removal policies for the default log group.\nSee `Notes` section in the README for more details.",
3730
+ "stability": "stable",
3731
+ "summary": "The removal policy to apply to Scanner Lambda's default log group."
3732
+ },
3733
+ "immutable": true,
3734
+ "locationInModule": {
3735
+ "filename": "src/image-scanner-with-trivy.ts",
3736
+ "line": 285
3737
+ },
3738
+ "name": "defaultLogGroupRemovalPolicy",
3739
+ "optional": true,
3740
+ "type": {
3741
+ "fqn": "aws-cdk-lib.RemovalPolicy"
3742
+ }
3743
+ },
3744
+ {
3745
+ "abstract": true,
3746
+ "docs": {
3747
+ "default": "- Scanner Lambda creates the default log group(`/aws/lambda/${functionName}`) and log events never expire.",
3748
+ "remarks": "If you use ImageScannerWithTrivy construct multiple times in the same stack, you cannot set different retention days for the default log group.\nSee `Notes` section in the README for more details.",
3749
+ "stability": "stable",
3750
+ "summary": "The number of days log events are kept in Scanner Lambda's default log group."
3751
+ },
3752
+ "immutable": true,
3753
+ "locationInModule": {
3754
+ "filename": "src/image-scanner-with-trivy.ts",
3755
+ "line": 295
3756
+ },
3757
+ "name": "defaultLogGroupRetentionDays",
3758
+ "optional": true,
3759
+ "type": {
3760
+ "fqn": "aws-cdk-lib.aws_logs.RetentionDays"
3761
+ }
3762
+ },
3655
3763
  {
3656
3764
  "abstract": true,
3657
3765
  "docs": {
@@ -3664,7 +3772,7 @@
3664
3772
  "immutable": true,
3665
3773
  "locationInModule": {
3666
3774
  "filename": "src/image-scanner-with-trivy.ts",
3667
- "line": 135
3775
+ "line": 203
3668
3776
  },
3669
3777
  "name": "exitCode",
3670
3778
  "optional": true,
@@ -3684,7 +3792,7 @@
3684
3792
  "immutable": true,
3685
3793
  "locationInModule": {
3686
3794
  "filename": "src/image-scanner-with-trivy.ts",
3687
- "line": 153
3795
+ "line": 221
3688
3796
  },
3689
3797
  "name": "exitOnEol",
3690
3798
  "optional": true,
@@ -3704,7 +3812,7 @@
3704
3812
  "immutable": true,
3705
3813
  "locationInModule": {
3706
3814
  "filename": "src/image-scanner-with-trivy.ts",
3707
- "line": 72
3815
+ "line": 140
3708
3816
  },
3709
3817
  "name": "ignoreUnfixed",
3710
3818
  "optional": true,
@@ -3724,7 +3832,7 @@
3724
3832
  "immutable": true,
3725
3833
  "locationInModule": {
3726
3834
  "filename": "src/image-scanner-with-trivy.ts",
3727
- "line": 120
3835
+ "line": 188
3728
3836
  },
3729
3837
  "name": "imageConfigScanners",
3730
3838
  "optional": true,
@@ -3748,7 +3856,7 @@
3748
3856
  "immutable": true,
3749
3857
  "locationInModule": {
3750
3858
  "filename": "src/image-scanner-with-trivy.ts",
3751
- "line": 196
3859
+ "line": 264
3752
3860
  },
3753
3861
  "name": "memorySize",
3754
3862
  "optional": true,
@@ -3767,7 +3875,7 @@
3767
3875
  "immutable": true,
3768
3876
  "locationInModule": {
3769
3877
  "filename": "src/image-scanner-with-trivy.ts",
3770
- "line": 207
3878
+ "line": 275
3771
3879
  },
3772
3880
  "name": "platform",
3773
3881
  "optional": true,
@@ -3775,6 +3883,25 @@
3775
3883
  "primitive": "string"
3776
3884
  }
3777
3885
  },
3886
+ {
3887
+ "abstract": true,
3888
+ "docs": {
3889
+ "default": "- scan logs output to default log group created by Scanner Lambda(`/aws/lambda/${functionName}`)",
3890
+ "remarks": "By default, scan logs are output to default log group created by Scanner Lambda.\n\nSpecify this if you want to send scan logs to other than the default log group.\n\nCurrently, only `cloudWatchLogs` is supported.",
3891
+ "stability": "stable",
3892
+ "summary": "Configuration for scan logs output."
3893
+ },
3894
+ "immutable": true,
3895
+ "locationInModule": {
3896
+ "filename": "src/image-scanner-with-trivy.ts",
3897
+ "line": 308
3898
+ },
3899
+ "name": "scanLogsOutput",
3900
+ "optional": true,
3901
+ "type": {
3902
+ "fqn": "image-scanner-with-trivy.ScanLogsOutput"
3903
+ }
3904
+ },
3778
3905
  {
3779
3906
  "abstract": true,
3780
3907
  "docs": {
@@ -3787,7 +3914,7 @@
3787
3914
  "immutable": true,
3788
3915
  "locationInModule": {
3789
3916
  "filename": "src/image-scanner-with-trivy.ts",
3790
- "line": 103
3917
+ "line": 171
3791
3918
  },
3792
3919
  "name": "scanners",
3793
3920
  "optional": true,
@@ -3812,7 +3939,7 @@
3812
3939
  "immutable": true,
3813
3940
  "locationInModule": {
3814
3941
  "filename": "src/image-scanner-with-trivy.ts",
3815
- "line": 89
3942
+ "line": 157
3816
3943
  },
3817
3944
  "name": "severity",
3818
3945
  "optional": true,
@@ -3838,7 +3965,7 @@
3838
3965
  "immutable": true,
3839
3966
  "locationInModule": {
3840
3967
  "filename": "src/image-scanner-with-trivy.ts",
3841
- "line": 183
3968
+ "line": 251
3842
3969
  },
3843
3970
  "name": "trivyIgnore",
3844
3971
  "optional": true,
@@ -3854,6 +3981,135 @@
3854
3981
  ],
3855
3982
  "symbolId": "src/image-scanner-with-trivy:ImageScannerWithTrivyProps"
3856
3983
  },
3984
+ "image-scanner-with-trivy.ScanLogsOutput": {
3985
+ "abstract": true,
3986
+ "assembly": "image-scanner-with-trivy",
3987
+ "docs": {
3988
+ "stability": "stable",
3989
+ "summary": "Represents the output of the scan logs."
3990
+ },
3991
+ "fqn": "image-scanner-with-trivy.ScanLogsOutput",
3992
+ "initializer": {
3993
+ "docs": {
3994
+ "stability": "stable"
3995
+ }
3996
+ },
3997
+ "kind": "class",
3998
+ "locationInModule": {
3999
+ "filename": "src/image-scanner-with-trivy.ts",
4000
+ "line": 80
4001
+ },
4002
+ "methods": [
4003
+ {
4004
+ "docs": {
4005
+ "stability": "stable",
4006
+ "summary": "Scan logs output to CloudWatch Logs log group."
4007
+ },
4008
+ "locationInModule": {
4009
+ "filename": "src/image-scanner-with-trivy.ts",
4010
+ "line": 84
4011
+ },
4012
+ "name": "cloudWatchLogs",
4013
+ "parameters": [
4014
+ {
4015
+ "name": "options",
4016
+ "type": {
4017
+ "fqn": "image-scanner-with-trivy.CloudWatchLogsOutputProps"
4018
+ }
4019
+ }
4020
+ ],
4021
+ "returns": {
4022
+ "type": {
4023
+ "fqn": "image-scanner-with-trivy.ScanLogsOutput"
4024
+ }
4025
+ },
4026
+ "static": true
4027
+ },
4028
+ {
4029
+ "abstract": true,
4030
+ "docs": {
4031
+ "stability": "stable",
4032
+ "summary": "Returns the output configuration for scan logs."
4033
+ },
4034
+ "locationInModule": {
4035
+ "filename": "src/image-scanner-with-trivy.ts",
4036
+ "line": 91
4037
+ },
4038
+ "name": "bind",
4039
+ "parameters": [
4040
+ {
4041
+ "name": "grantee",
4042
+ "type": {
4043
+ "fqn": "aws-cdk-lib.aws_iam.IGrantable"
4044
+ }
4045
+ }
4046
+ ],
4047
+ "returns": {
4048
+ "type": {
4049
+ "fqn": "image-scanner-with-trivy.ScanLogsOutputOptions"
4050
+ }
4051
+ }
4052
+ }
4053
+ ],
4054
+ "name": "ScanLogsOutput",
4055
+ "symbolId": "src/image-scanner-with-trivy:ScanLogsOutput"
4056
+ },
4057
+ "image-scanner-with-trivy.ScanLogsOutputOptions": {
4058
+ "assembly": "image-scanner-with-trivy",
4059
+ "datatype": true,
4060
+ "docs": {
4061
+ "stability": "stable",
4062
+ "summary": "Output configurations for scan logs."
4063
+ },
4064
+ "fqn": "image-scanner-with-trivy.ScanLogsOutputOptions",
4065
+ "kind": "interface",
4066
+ "locationInModule": {
4067
+ "filename": "src/types.ts",
4068
+ "line": 11
4069
+ },
4070
+ "name": "ScanLogsOutputOptions",
4071
+ "properties": [
4072
+ {
4073
+ "abstract": true,
4074
+ "docs": {
4075
+ "stability": "stable"
4076
+ },
4077
+ "immutable": true,
4078
+ "locationInModule": {
4079
+ "filename": "src/types.ts",
4080
+ "line": 12
4081
+ },
4082
+ "name": "type",
4083
+ "type": {
4084
+ "fqn": "image-scanner-with-trivy.ScanLogsOutputType"
4085
+ }
4086
+ }
4087
+ ],
4088
+ "symbolId": "src/types:ScanLogsOutputOptions"
4089
+ },
4090
+ "image-scanner-with-trivy.ScanLogsOutputType": {
4091
+ "assembly": "image-scanner-with-trivy",
4092
+ "docs": {
4093
+ "stability": "stable",
4094
+ "summary": "Enum for ScanLogsOutputType."
4095
+ },
4096
+ "fqn": "image-scanner-with-trivy.ScanLogsOutputType",
4097
+ "kind": "enum",
4098
+ "locationInModule": {
4099
+ "filename": "src/types.ts",
4100
+ "line": 4
4101
+ },
4102
+ "members": [
4103
+ {
4104
+ "docs": {
4105
+ "stability": "stable"
4106
+ },
4107
+ "name": "CLOUDWATCH_LOGS"
4108
+ }
4109
+ ],
4110
+ "name": "ScanLogsOutputType",
4111
+ "symbolId": "src/types:ScanLogsOutputType"
4112
+ },
3857
4113
  "image-scanner-with-trivy.Scanners": {
3858
4114
  "assembly": "image-scanner-with-trivy",
3859
4115
  "docs": {
@@ -3865,7 +4121,7 @@
3865
4121
  "kind": "enum",
3866
4122
  "locationInModule": {
3867
4123
  "filename": "src/image-scanner-with-trivy.ts",
3868
- "line": 33
4124
+ "line": 50
3869
4125
  },
3870
4126
  "members": [
3871
4127
  {
@@ -3907,7 +4163,7 @@
3907
4163
  "kind": "enum",
3908
4164
  "locationInModule": {
3909
4165
  "filename": "src/image-scanner-with-trivy.ts",
3910
- "line": 20
4166
+ "line": 37
3911
4167
  },
3912
4168
  "members": [
3913
4169
  {
@@ -3945,6 +4201,6 @@
3945
4201
  "symbolId": "src/image-scanner-with-trivy:Severity"
3946
4202
  }
3947
4203
  },
3948
- "version": "1.2.1",
3949
- "fingerprint": "sO9TM7RVYrHjLPhrmKsR+ewIw5COtYPO1tHhw+VO+Nk="
4204
+ "version": "1.4.0",
4205
+ "fingerprint": "GHI0DiXFw/BG1uuUoyMU3ciRMGMifdtqtkPqVrDGmYY="
3950
4206
  }