- Resource: ParserAnalysisReport
- Methods
Resource: ParserAnalysisReport
ParserAnalysisReport containing the findings of a parser analysis.
| JSON representation |
|---|
{ "name": string, "reportType": enum ( |
| Fields | |
|---|---|
name |
Output only. Identifier. The unique resource name of the analysis report. |
reportType |
Output only. Type of analysis performed. |
reportStage |
Output only. The current execution state of the analysis. |
createTime |
Output only. The time the analysis report was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
endTime |
Output only. The time the analysis operation finished or failed. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Union field results. Output only. Type-specific results. results can be only one of the following: |
|
didResults |
Analysis result of the Downstream Impact Detection (DID) analysis. |
parserValidationResults |
Analysis result of the GitHub Parser analysis. |
DIDResults
Result of the DID analysis.
| JSON representation |
|---|
{ "impactedRules": [ { object ( |
| Fields | |
|---|---|
impactedRules[] |
Output only. A list of rules that are impacted by the parser change. |
summary |
Output only. A high-level summary of the analysis results. |
detectionCount |
Output only. The total number of log detections sampled and processed. |
oldParserVersion |
Output only. The version of the parser currently active. |
newParserVersion |
Output only. The target version of the parser being evaluated. |
RuleImpact
Detailed impact analysis for a specific detection rule.
| JSON representation |
|---|
{ "rule": string, "ruleType": enum ( |
| Fields | |
|---|---|
rule |
The unique resource name of the detection rule. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule} |
ruleType |
Type of the Rule. |
ruleDisplayName |
The display name of the rule. |
impactResult |
The classification of the impact. |
impactDetails |
Human-readable description of why the rule was flagged. |
diffFields[] |
A list of UDM fields with detected data differences. |
outcomeFields[] |
UDM fields categorized by rule section. |
matchedFields[] |
Matched UDM fields. |
eventFields[] |
Event UDM fields. |
ImpactResult
Severity level of the impact on a detection rule.
| Enums | |
|---|---|
IMPACT_RESULT_UNSPECIFIED |
Impact result unspecified. |
NO_IMPACT |
No impact. |
POTENTIAL_IMPACT |
Potential impact. |
BREAKAGE |
Breakage. |
RuleField
Represents a UDM field within a rule.
| JSON representation |
|---|
{ "fieldPath": string, "diffFound": boolean } |
| Fields | |
|---|---|
fieldPath |
The UDM path (e.g., "principal.hostname"). |
diffFound |
Whether this specific field was part of the diff. |
ReportSummary
Aggregated statistics summarizing the impact of parser changes.
| JSON representation |
|---|
{ "totalRulesAnalyzed": integer, "ruleBreakageCount": integer, "rulePotentialImpactCount": integer } |
| Fields | |
|---|---|
totalRulesAnalyzed |
Total number of unique detection rules evaluated. |
ruleBreakageCount |
Number of rules with a definitive logic breakage. |
rulePotentialImpactCount |
Number of rules with potential impact due to data changes. |
ParserValidationResults
Result of the Fast Parser Validation analysis.
| JSON representation |
|---|
{ "parsingErrors": [ { object ( |
| Fields | |
|---|---|
parsingErrors[] |
Output only. Parsing errors. |
invalidConfigError |
Output only. Error for invalid config. |
fieldCoverageCountDiffLogs |
Output only. The UDM fields and corresponding logs which produced different field count. An object containing a list of |
impUdmFieldsValueDiffLogs |
Output only. The important UDM Field and corresponding logs which produced different value for the field. An object containing a list of |
differentiatorLogs |
Output only. The logs which produced different metric value. |
ParsingError
Parsing error encountered while validating the parser extension.
| JSON representation |
|---|
{
"name": string,
"logData": string,
"error": {
object ( |
| Fields | |
|---|---|
name |
Output only. The name of this Parsing Error . Output only. The resource name of the parsing error. Format: projects/{project}/locations/{location}/instances/{instance}/validationReports/{report}/parsingErrors/{id} |
logData |
Output only. Data of the Log entry that caused the error. A base64-encoded string. |
error |
Output only. Error message when parsing the log. |
DifferentiatorLogIndexes
Represents DifferentiatorLogIndexes.
| JSON representation |
|---|
{ "logIndexes": [ integer ] } |
| Fields | |
|---|---|
logIndexes[] |
Output only. The indexes of the differentiator logs. |
DifferentiatorLogs
Represents DifferentiatorLogs.
| JSON representation |
|---|
{ "indexedLogs": { integer: string, ... } } |
| Fields | |
|---|---|
indexedLogs |
The index and corresponding values of the log. An object containing a list of |
ReportType
Enum for the type of analysis.
| Enums | |
|---|---|
REPORT_TYPE_UNSPECIFIED |
Unspecified analysis type. |
DID_ANALYSIS |
Downstream Impact Detection (DID) analysis. |
GITHUB_PARSER_VALIDATION |
GitHub Parser analysis. |
ParserAnalysisReportStage
Possible states of an analysis report.
| Enums | |
|---|---|
PARSER_ANALYSIS_REPORT_STAGE_UNSPECIFIED |
Invalid status. |
PARSER_ANALYSIS_REPORT_STAGE_QUEUED |
The analysis is queued and waiting for processing resources. |
PARSER_ANALYSIS_REPORT_STAGE_RUNNING |
The analysis is currently in progress. |
PARSER_ANALYSIS_REPORT_STAGE_COMPLETED |
The analysis finished successfully; findings are available in the report. |
PARSER_ANALYSIS_REPORT_STAGE_FAILED |
The analysis failed due to an error. Review the operation metadata for details. |
PARSER_ANALYSIS_REPORT_STAGE_ARCHIVED |
Report is archived. This is set when the new report is generated and current report is obsolete. |
Methods |
|
|---|---|
|
GetParserAnalysisReport gets an analysis report. |
|
ListParserAnalysisReports lists analysis reports. |