src/eric7/CycloneDXInterface/CycloneDXConfigDialog.py

branch
eric7
changeset 9509
c06561080e32
parent 9413
80c06d472826
child 9653
e67609152c5e
equal deleted inserted replaced
9508:5a02bdb1dcba 9509:c06561080e32
187 Public method to get the SBOM configuration data. 187 Public method to get the SBOM configuration data.
188 188
189 @return tuple containing the input source, the input file name, the 189 @return tuple containing the input source, the input file name, the
190 file format, the schema version, the path of the SBOM file to be 190 file format, the schema version, the path of the SBOM file to be
191 written, a flag indicating to include vulnerability information, 191 written, a flag indicating to include vulnerability information,
192 a flag indicating to include dependency information and a 192 a flag indicating to include dependency information, a flag indicating
193 dictionary containing the SBOM meta data 193 to generate readable output and a dictionary containing the SBOM meta data
194 @rtype tuple of (str, str, str, str, str, bool, bool, dict) 194 @rtype tuple of (str, str, str, str, str, bool, bool, bool, dict)
195 """ 195 """
196 if self.environmentButton.isChecked(): 196 if self.environmentButton.isChecked():
197 inputSource = "environment" 197 inputSource = "environment"
198 inputFile = None 198 inputFile = None
199 elif self.pipenvButton.isChecked(): 199 elif self.pipenvButton.isChecked():
235 fileFormat, 235 fileFormat,
236 schemaVersion, 236 schemaVersion,
237 sbomFile, 237 sbomFile,
238 self.vulnerabilityCheckBox.isChecked(), 238 self.vulnerabilityCheckBox.isChecked(),
239 self.dependenciesCheckBox.isChecked(), 239 self.dependenciesCheckBox.isChecked(),
240 self.readableCheckBox.isChecked(),
240 self.__metadata, 241 self.__metadata,
241 ) 242 )

eric ide

mercurial