API Reference
Class
AuditPackageLayout
Defines the canonical on-disk layout for audit packages.
Inheritance
- Object
- AuditPackageLayout
Methods
public static String GetPath(String rootDirectory, String relativePath) #Returns:
StringReturns the absolute path to a package file.
Parameters
- rootDirectory System.String
- Package root directory.
- relativePath System.String
- Relative package path.
Returns
The absolute file path.
public static String GetRuleResultPath(String rootDirectory, String ruleId, String resultId) #Returns:
StringReturns the absolute path for a per-rule result file.
Parameters
- rootDirectory System.String
- Package root directory.
- ruleId System.String
- Rule identifier.
- resultId System.String
- Per-execution result identifier.
Returns
The absolute file path.
Inherited Methods
Fields
public const String PackageManifestRelativePath #Gets the relative path of the package manifest file.
Value:
package.manifest.jsonpublic const String RunManifestRelativePath #Gets the relative path of the run manifest file.
Value:
run/run.manifest.jsonpublic const String EnvironmentRelativePath #Gets the relative path of the environment document.
Value:
run/environment.jsonpublic const String SelectionRelativePath #Gets the relative path of the selection document.
Value:
run/selection.jsonpublic const String RuleCatalogRelativePath #Gets the relative path of the rule catalog document.
Value:
run/rule-catalog.jsonpublic const String SummaryRelativePath #Gets the relative path of the summary document.
Value:
results/summary.jsonpublic const String AssessmentAreasRelativePath #Gets the relative path of the assessment area summary document.
Value:
results/assessment-areas.jsonpublic const String ChecksumsRelativePath #Gets the relative path of the checksums document.
Value:
integrity/checksums.jsonpublic const String RuleResultsDirectoryRelativePath #Gets the relative directory for per-rule result documents.
Value:
results/rules