protected SourceType getSourceType(String signatureSource) {
		SourceType sourceType = SourceType.IMPORTED;
		if (signatureSource == null) {
			return sourceType;
		}
		try {
			if (signatureSource != null) {
				sourceType = SourceType.valueOf(signatureSource);
			}
		} catch (IllegalArgumentException iae) {
			log.appendMsg("Unknown SourceType: " + signatureSource);
		}
		return sourceType;
	}
Read results from an SARIF file.

@param result       parsed SARIF results
@param options      for import/export
@param monitor      monitor that can be canceled
@throws AddressFormatException for bad locations
@throws CancelledException if cancelled
Ghidra/Features/Sarif/src/main/java/sarif/managers/SarifMgr.java