Skip to content

Commit 594770b

Browse files
committed
Merge branch 'master' into pr/13252
2 parents 744dbba + 5e724ba commit 594770b

File tree

1,169 files changed

+63944
-24350
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,169 files changed

+63944
-24350
lines changed

.github/workflows/arm-ttk-validations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222
with:
23-
fetch-depth: 0
23+
fetch-depth: 10
2424
- shell: pwsh
2525
id: step1
2626
name: Identify Changes in PR

.github/workflows/hyperlinkValidator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
env:
2929
GeneratedToken: ${{ steps.generate_token.outputs.token }}
3030
with:
31-
fetch-depth: 0
31+
fetch-depth: 10
3232
token: ${{ env.GeneratedToken }}
3333
- shell: pwsh
3434
id: step1

.github/workflows/slash-command-armttk.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
if: steps.get-pr.outputs.is_fork == 'false'
4747
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4848
with:
49-
fetch-depth: 0
49+
fetch-depth: 10
5050
ref: ${{ steps.get-pr.outputs.head_sha }}
5151
persist-credentials: false
5252
- shell: pwsh

.github/workflows/update-solutions-analyzer.yml

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,23 +55,47 @@ jobs:
5555
echo "changed=true" >> $GITHUB_OUTPUT
5656
fi
5757
58-
- name: Commit and push changes
58+
- name: Create Pull Request
5959
if: steps.check_changes.outputs.changed == 'true'
60+
id: create_pr
61+
uses: peter-evans/create-pull-request@v6
62+
with:
63+
token: ${{ secrets.GITHUB_TOKEN }}
64+
commit-message: 'chore: Update Solutions Analyzer CSV files and documentation'
65+
branch: solutions-analyzer-update
66+
delete-branch: true
67+
title: 'chore: Update Solutions Analyzer CSV files and documentation'
68+
body: |
69+
## Automated Solutions Analyzer Update
70+
71+
This PR contains automated updates to:
72+
- Solutions connector-to-tables mapping CSV
73+
- Solutions issues and exceptions report CSV
74+
- Connector documentation files
75+
76+
Generated by the Solutions Analyzer workflow.
77+
78+
**Triggered by:** ${{ github.event_name }}
79+
**Workflow run:** ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
80+
labels: automated, documentation
81+
add-paths: |
82+
Tools/Solutions Analyzer/solutions_connectors_tables_mapping.csv
83+
Tools/Solutions Analyzer/solutions_connectors_tables_issues_and_exceptions_report.csv
84+
Tools/Solutions Analyzer/connector-docs/
85+
86+
- name: Enable auto-merge
87+
if: steps.check_changes.outputs.changed == 'true' && steps.create_pr.outputs.pull-request-number != ''
6088
run: |
61-
git config --local user.email "github-actions[bot]@users.noreply.github.com"
62-
git config --local user.name "github-actions[bot]"
63-
git add "Tools/Solutions Analyzer/solutions_connectors_tables_mapping.csv"
64-
git add "Tools/Solutions Analyzer/solutions_connectors_tables_issues_and_exceptions_report.csv"
65-
git add "Tools/Solutions Analyzer/connector-docs/"
66-
git commit -m "chore: Update Solutions Analyzer CSV files and documentation [skip ci]"
67-
git push
89+
gh pr merge ${{ steps.create_pr.outputs.pull-request-number }} --auto --squash
90+
env:
91+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6892

6993
- name: Create summary
7094
if: steps.check_changes.outputs.changed == 'true'
7195
run: |
72-
echo "### Solutions Analyzer Updated :white_check_mark:" >> $GITHUB_STEP_SUMMARY
96+
echo "### Solutions Analyzer Pull Request Created :white_check_mark:" >> $GITHUB_STEP_SUMMARY
7397
echo "" >> $GITHUB_STEP_SUMMARY
74-
echo "CSV files and documentation have been regenerated and committed." >> $GITHUB_STEP_SUMMARY
98+
echo "A pull request has been created with updated CSV files and documentation." >> $GITHUB_STEP_SUMMARY
7599
echo "" >> $GITHUB_STEP_SUMMARY
76100
echo "**Modified files:**" >> $GITHUB_STEP_SUMMARY
77101
echo "- Tools/Solutions Analyzer/solutions_connectors_tables_mapping.csv" >> $GITHUB_STEP_SUMMARY

.script/tests/KqlvalidationsTests/CustomTables/AZFWApplicationRule.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
"Name": "ActionReason",
1010
"Type": "string"
1111
},
12+
{
13+
"Name": "_BilledSize",
14+
"Type": "real"
15+
},
1216
{
1317
"Name": "DestinationPort",
1418
"Type": "int"
@@ -17,6 +21,14 @@
1721
"Name": "Fqdn",
1822
"Type": "string"
1923
},
24+
{
25+
"Name": "_IsBillable",
26+
"Type": "string"
27+
},
28+
{
29+
"Name": "IsExplicitProxyRequest",
30+
"Type": "bool"
31+
},
2032
{
2133
"Name": "IsTlsInspected",
2234
"Type": "bool"
@@ -57,6 +69,10 @@
5769
"Name": "SourceSystem",
5870
"Type": "string"
5971
},
72+
{
73+
"Name": "_SubscriptionId",
74+
"Type": "string"
75+
},
6076
{
6177
"Name": "TargetUrl",
6278
"Type": "string"
@@ -76,6 +92,14 @@
7692
{
7793
"Name": "WebCategory",
7894
"Type": "string"
95+
},
96+
{
97+
"Name": "_TimeReceived",
98+
"Type": "datetime"
99+
},
100+
{
101+
"Name": "_ItemId",
102+
"Type": "string"
79103
}
80104
]
81105
}

.script/tests/KqlvalidationsTests/CustomTables/AZFWDnsQuery.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,14 @@
8888
{
8989
"Name": "Type",
9090
"Type": "string"
91+
},
92+
{
93+
"Name": "_TimeReceived",
94+
"Type": "datetime"
95+
},
96+
{
97+
"Name": "_ItemId",
98+
"Type": "string"
9199
}
92100
]
93101
}

.script/tests/KqlvalidationsTests/CustomTables/AZFWIdpsSignature.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@
8080
{
8181
"Name": "SignatureId",
8282
"Type": "string"
83+
},
84+
{
85+
"Name": "_TimeReceived",
86+
"Type": "datetime"
87+
},
88+
{
89+
"Name": "_ItemId",
90+
"Type": "string"
8391
}
8492
]
8593
}
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"Name": "AZFWNatRule",
3+
"Properties": [
4+
{
5+
"Name": "_BilledSized",
6+
"Type": "real"
7+
},
8+
{
9+
"Name": "DestinationIp",
10+
"Type": "string"
11+
},
12+
{
13+
"Name": "DestinationPort",
14+
"Type": "int"
15+
},
16+
{
17+
"Name": "_IsBillable",
18+
"Type": "string"
19+
},
20+
{
21+
"Name": "Policy",
22+
"Type": "string"
23+
},
24+
{
25+
"Name": "Protocol",
26+
"Type": "string"
27+
},
28+
{
29+
"Name": "_ResourceId",
30+
"Type": "string"
31+
},
32+
{
33+
"Name": "Rule",
34+
"Type": "string"
35+
},
36+
{
37+
"Name": "RuleCollection",
38+
"Type": "string"
39+
},
40+
{
41+
"Name": "RuleCollectionGroup",
42+
"Type": "string"
43+
},
44+
{
45+
"Name": "SourceIp",
46+
"Type": "string"
47+
},
48+
{
49+
"Name": "SourcePort",
50+
"Type": "int"
51+
},
52+
{
53+
"Name": "SourceSystem",
54+
"Type": "string"
55+
},
56+
{
57+
"Name": "_SubscriptionId",
58+
"Type": "string"
59+
},
60+
{
61+
"Name": "TenantId",
62+
"Type": "string"
63+
},
64+
{
65+
"Name": "TimeGenerated",
66+
"Type": "datetime"
67+
},
68+
{
69+
"Name": "TranslatedIp",
70+
"Type": "string"
71+
},
72+
{
73+
"Name": "TranslatedPort",
74+
"Type": "int"
75+
},
76+
{
77+
"Name": "Type",
78+
"Type": "string"
79+
},
80+
{
81+
"Name": "_TimeReceived",
82+
"Type": "datetime"
83+
},
84+
{
85+
"Name": "_ItemId",
86+
"Type": "string"
87+
}
88+
]
89+
}

.script/tests/KqlvalidationsTests/CustomTables/AZFWNetworkRule.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@
6868
{
6969
"Name": "Type",
7070
"Type": "string"
71+
},
72+
{
73+
"Name": "_TimeReceived",
74+
"Type": "datetime"
75+
},
76+
{
77+
"Name": "_ItemId",
78+
"Type": "string"
7179
}
7280
]
7381
}

.script/tests/KqlvalidationsTests/CustomTables/AZFWThreatIntel.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@
6868
{
6969
"Name": "Type",
7070
"Type": "string"
71+
},
72+
{
73+
"Name": "_TimeReceived",
74+
"Type": "datetime"
75+
},
76+
{
77+
"Name": "_ItemId",
78+
"Type": "string"
7179
}
7280
]
7381
}

0 commit comments

Comments
 (0)