@@ -6,6 +6,7 @@ export const vulnerabilityProperties: INodeProperties[] = [
66 name : 'vulnSelectedFields' ,
77 type : 'multiOptions' ,
88 default : [ ] ,
9+ description : "Fields to include when 'Selected Fields' output mode is selected" ,
910 options : [
1011 { name : 'Advisories' , value : 'advisories' } ,
1112 { name : 'CWEs' , value : 'cwes' } ,
@@ -33,6 +34,7 @@ export const vulnerabilityProperties: INodeProperties[] = [
3334 name : 'advisorySelectedFields' ,
3435 type : 'multiOptions' ,
3536 default : [ ] ,
37+ description : "Advisory fields to include when 'Selected Fields' output mode is selected" ,
3638 options : [
3739 { name : 'CWEs' , value : 'cwes' } ,
3840 { name : 'Description' , value : 'description' } ,
@@ -59,7 +61,7 @@ export const vulnerabilityProperties: INodeProperties[] = [
5961 show : {
6062 resource : [ 'vulnerability' ] ,
6163 operation : [ 'analyze' ] ,
62- inputType : [ 'purls' , 'sbomSha256 ' ] ,
64+ inputType : [ 'purls' , 'sbomSha ' ] ,
6365 outputMode : [ 'selected' ] ,
6466 } ,
6567 } ,
@@ -97,9 +99,10 @@ export const vulnerabilityProperties: INodeProperties[] = [
9799 displayName : 'Input Type' ,
98100 name : 'inputType' ,
99101 type : 'options' ,
102+ description : 'Analyze by providing PURLs directly or by referencing an SBOM via SHA' ,
100103 options : [
101104 { name : 'PURLs (Multiline)' , value : 'purls' } ,
102- { name : 'SBOM Lookup (SHA-256 )' , value : 'sbomSha256 ' } ,
105+ { name : 'SBOM Lookup (SHA)' , value : 'sbomSha ' } ,
103106 ] ,
104107 default : 'purls' ,
105108 displayOptions : { show : { resource : [ 'vulnerability' ] , operation : [ 'analyze' ] } } ,
@@ -118,14 +121,15 @@ export const vulnerabilityProperties: INodeProperties[] = [
118121 } ,
119122 } ,
120123 {
121- displayName : 'SBOM SHA-256 ' ,
122- name : 'sbomSha256 ' ,
124+ displayName : 'SBOM SHA' ,
125+ name : 'sbomSha ' ,
123126 type : 'string' ,
124127 default : '' ,
125- placeholder : 'e.g. 3a7bd3e2360a3d…' ,
126- description : 'The SHA-256 checksum of the SBOM file to analyze' ,
128+ placeholder : 'e.g. sha256:3a7bd3…, sha384:…, or sha512:…' ,
129+ description :
130+ 'SHA checksum of the SBOM to analyze. Format: sha256:[64-hex] | sha384:[96-hex] | sha512:[128-hex].' ,
127131 displayOptions : {
128- show : { resource : [ 'vulnerability' ] , operation : [ 'analyze' ] , inputType : [ 'sbomSha256 ' ] } ,
132+ show : { resource : [ 'vulnerability' ] , operation : [ 'analyze' ] , inputType : [ 'sbomSha ' ] } ,
129133 } ,
130134 } ,
131135
@@ -134,6 +138,7 @@ export const vulnerabilityProperties: INodeProperties[] = [
134138 name : 'sortingVuln' ,
135139 type : 'fixedCollection' ,
136140 placeholder : 'Add sort rule' ,
141+ description : 'Add one or more sorting rules to order the vulnerabilities' ,
137142 typeOptions : { multipleValues : true } ,
138143 displayOptions : { show : { operation : [ 'getMany' , 'analyze' ] , resource : [ 'vulnerability' ] } } ,
139144 default : { } ,
@@ -146,6 +151,7 @@ export const vulnerabilityProperties: INodeProperties[] = [
146151 displayName : 'Field' ,
147152 name : 'field' ,
148153 type : 'options' ,
154+ description : 'Property to sort by' ,
149155 options : [
150156 { name : 'Identifier (e.g., CVE)' , value : 'identifier' } ,
151157 { name : 'Title' , value : 'title' } ,
@@ -157,6 +163,7 @@ export const vulnerabilityProperties: INodeProperties[] = [
157163 displayName : 'Direction' ,
158164 name : 'direction' ,
159165 type : 'options' ,
166+ description : 'Sort order' ,
160167 options : [
161168 { name : 'Ascending' , value : 'asc' } ,
162169 { name : 'Descending' , value : 'desc' } ,
0 commit comments