Skip to content

Commit

Permalink
Merge branch 'master' into MimecastSEG
Browse files Browse the repository at this point in the history
  • Loading branch information
nipun-crestdatasystem authored Sep 18, 2023
2 parents ff5705f + a24b0ba commit 4263be8
Show file tree
Hide file tree
Showing 423 changed files with 60,558 additions and 3,895 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/package-command.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ on:
types: [package-command, Package-command, PACKAGE-command]
jobs:
solutionNameDetails:
if: ${{ !github.event.pull_request.head.repo.fork }}
if: ${{ github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork }}
uses: ./.github/workflows/getSolutionName.yaml
secrets: inherit

# BELOW JOB WILL CHECK IF WE NEED TO SKIP PACKAGE CREATION OR NOT
checkSkipPackagingDetails:
if: ${{ needs.solutionNameDetails.outputs.solutionName != '' && !github.event.pull_request.head.repo.fork }}
if: ${{ github.actor != 'dependabot[bot]' && needs.solutionNameDetails.outputs.solutionName != '' && !github.event.pull_request.head.repo.fork }}
uses: ./.github/workflows/checkSkipPackagingInfo.yaml
secrets: inherit
needs: solutionNameDetails
Expand All @@ -34,7 +34,7 @@ jobs:
neworexistingsolution:
needs: [solutionNameDetails, checkSkipPackagingDetails]
uses: ./.github/workflows/neworexistingsolution.yaml
if: ${{ needs.solutionNameDetails.outputs.solutionName != '' && needs.checkSkipPackagingDetails.outputs.isPackagingRequired == 'True' }}
if: ${{ github.actor != 'dependabot[bot]' && needs.solutionNameDetails.outputs.solutionName != '' && needs.checkSkipPackagingDetails.outputs.isPackagingRequired == 'True' }}
with:
solutionName: "${{ needs.solutionNameDetails.outputs.solutionName }}"
secrets: inherit
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/package-on-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ on:
- closed
jobs:
checkAutomatedPR:
if: ${{ github.event.pull_request.merged && !github.event.pull_request.head.repo.fork }}
if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.merged && !github.event.pull_request.head.repo.fork }}
uses: ./.github/workflows/checkAutomatedPR.yaml

solutionNameDetails:
if: ${{ github.event.pull_request.merged && !github.event.pull_request.head.repo.fork }}
if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.merged && !github.event.pull_request.head.repo.fork }}
needs: checkAutomatedPR
uses: ./.github/workflows/getSolutionName.yaml
secrets: inherit

checkSkipPackagingDetails:
if: ${{ github.event.pull_request.merged && !github.event.pull_request.head.repo.fork && needs.solutionNameDetails.outputs.solutionName != '' }}
if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.merged && !github.event.pull_request.head.repo.fork && needs.solutionNameDetails.outputs.solutionName != '' }}
uses: ./.github/workflows/checkSkipPackagingInfo.yaml
secrets: inherit
needs: solutionNameDetails
Expand All @@ -41,7 +41,7 @@ jobs:
neworexistingsolution:
needs: [solutionNameDetails, checkSkipPackagingDetails]
uses: ./.github/workflows/neworexistingsolution.yaml
if: ${{ needs.solutionNameDetails.outputs.solutionName != '' && needs.checkSkipPackagingDetails.outputs.isPackagingRequired == 'True' }}
if: ${{ github.actor != 'dependabot[bot]' && needs.solutionNameDetails.outputs.solutionName != '' && needs.checkSkipPackagingDetails.outputs.isPackagingRequired == 'True' }}
with:
solutionName: "${{ needs.solutionNameDetails.outputs.solutionName }}"
secrets: inherit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@
{
"name": "Type",
"type": "String"
},
{
"name": "PerformedByDisplayName",
"type": "String"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"Name":"MimecastTTPAttachment_CL",
"Properties":[
{
"Name":"senderAddress_s",
"Type":"String"
},
{
"Name":"recipientAddress_s",
"Type":"String"
},
{
"Name":"fileName_s",
"Type":"String"
},
{
"Name":"fileType_s",
"Type":"String"
},
{
"Name":"result_s",
"Type":"String"
},
{
"Name":"actionTriggered_s",
"Type":"String"
},
{
"Name":"date_t",
"Type":"DateTime"
},
{
"Name":"details_s",
"Type":"String"
},
{
"Name":"route_s",
"Type":"String"
},
{
"Name":"messageId_s",
"Type":"String"
},
{
"Name":"subject_s",
"Type":"String"
},
{
"Name":"fileHash_s",
"Type":"String"
},
{
"Name":"definition_s",
"Type":"String"
},
{
"Name":"mimecastEventId_s",
"Type":"String"
},
{
"Name":"mimecastEventCategory_s",
"Type":"String"
},
{
"Name":"time_generated",
"Type":"DateTime"
},
{
"name": "TimeGenerated",
"type": "DateTime"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"Name":"MimecastTTPImpersonation_CL",
"Properties":[
{
"Name":"id_s",
"Type":"String"
},
{
"Name":"senderAddress_s",
"Type":"String"
},
{
"Name":"recipientAddress_s",
"Type":"String"
},
{
"Name":"subject_s",
"Type":"String"
},
{
"Name":"definition_s",
"Type":"String"
},
{
"Name":"hits_s",
"Type":"String"
},
{
"Name":"identifiers_s",
"Type":"String"
},
{
"Name":"action_s",
"Type":"String"
},
{
"Name":"taggedExternal_b",
"Type":"Bool"
},
{
"Name":"taggedMalicious_b",
"Type":"Bool"
},
{
"Name":"senderIpAddress_s",
"Type":"String"
},
{
"Name":"eventTime_t",
"Type":"DateTime"
},
{
"Name":"impersonationResults_s",
"Type":"String"
},
{
"Name":"messageId_s",
"Type":"String"
},
{
"Name":"mimecastEventId_s",
"Type":"String"
},
{
"Name":"mimecastEventCategory_s",
"Type":"String"
},
{
"Name":"time_generated",
"Type":"DateTime"
},
{
"name": "TimeGenerated",
"type": "DateTime"
}
]
}
105 changes: 105 additions & 0 deletions .script/tests/KqlvalidationsTests/CustomTables/MimecastTTPUrl_CL.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
{
"Name": "MimecastTTPUrl_CL",
"Properties": [
{
"Name": "userEmailAddress_s",
"Type": "String"
},
{
"Name": "fromUserEmailAddress_s",
"Type": "String"
},
{
"Name": "url_s",
"Type": "String"
},
{
"Name": "ttpDefinition_s",
"Type": "String"
},
{
"Name": "subject_s",
"Type": "String"
},
{
"Name": "action_s",
"Type": "String"
},
{
"Name": "adminOverride_s",
"Type": "String"
},
{
"Name": "userOverride_s",
"Type": "String"
},
{
"Name": "scanResult_s",
"Type": "String"
},
{
"Name": "category_s",
"Type": "String"
},
{
"Name": "sendingIp_s",
"Type": "String"
},
{
"Name": "advancedPhishingResult_CredentialTheftBrands_s",
"Type": "String"
},
{
"Name": "advancedPhishingResult_CredentialTheftTags_s",
"Type": "String"
},
{
"Name": "advancedPhishingResult_CredentialTheftEvidence_s",
"Type": "String"
},
{
"Name": "userAwarenessAction_s",
"Type": "String"
},
{
"Name": "date_t",
"Type": "DateTime"
},
{
"Name": "actions_s",
"Type": "String"
},
{
"Name": "route_s",
"Type": "String"
},
{
"Name": "creationMethod_s",
"Type": "String"
},
{
"Name": "emailPartsDescription_s",
"Type": "String"
},
{
"Name": "messageId_s",
"Type": "String"
},
{
"Name": "mimecastEventId_s",
"Type": "String"
},
{
"Name": "mimecastEventCategory_s",
"Type": "String"
},
{
"Name": "time_generated",
"Type": "DateTime"
},
{
"name": "TimeGenerated",
"type": "DateTime"
}
]
}
Loading

0 comments on commit 4263be8

Please sign in to comment.