-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: check rule file name, use gpt-4o, add resource info in telemetry (
#223) * feat: check rule file name * refactor: add Azure Resource info in telemetry * feat: use gpt-4o
- Loading branch information
1 parent
c57a1bf
commit 7974b72
Showing
8 changed files
with
65 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
|
||
// Rule files: ruleset.yml | ||
export const zipFileBase64 = "UEsDBAoAAAAAABp341gAAAAAAAAAAAAAAAAKAAAAZnVuY3Rpb25zL1BLAwQUAAgACAAad+NYAAAAAAAAAAAAAAAAEwAAAGZ1bmN0aW9ucy9lcXVhbHMuanNtkD9PwzAQxfdK/Q6PiKGVAuyugpiYEUOXqlJNcilGTuyezwhU5bujOM2fgeVk3f387r0zjXcsuKJk0kLv0VIgeY1tKca16FCza5C9BHHemvOnPAVPpbC2D6Vjynbr1XpFP0mkolpHK/9LbdYr4NoXwLQ+ikIbrc2HjvM9E9RIAPLrSSFzH19USpaPbV1Vpke1fWPnicVQUKi1DTQxfjGZ9IBvbSMpCMcZ7aYX0yUapkrhkCUyO95mAzPUjWg+k+y1zUfPWxTP45rStaE/ZhJAh2KE0plS9HqhgbuiGNjtbJRJIrc4zMYXG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AA0AAABydWxlc2V0Mi55YW1sTY5NCoMwEIX3Qu4whC5bD5BDdNGtuAj2mQbipMwkRRDvXqgGuv3eL9YCfqqjYdA3piI+uez1Sj6lcTTdXHkqMbM60xHdKAhQIgfTSU04aGOPmvADRAtUfYAju20QybLv9lBC/IAd2UvfYv0cRcvdLzgt5QU+e4jaAfc3/QVQSwcI16DW1X0AAAC1AAAAUEsDBBQACAAIABwYAVkAAAAAAAAAAAAAAAAFAAAAei50eHSrqqoCAFBLBwjKPSfDBQAAAAMAAABQSwECLQMUAAgACAAYGAFZLXMH8AUAAAADAAAABQAAAAAAAAAAACAAtoEAAAAAYS50eHRQSwECLQMKAAAAAAAEFgFZAAAAAAAAAAAAAAAACgAAAAAAAAAAABAA7UE4AAAAZnVuY3Rpb25zL1BLAQItAxQACAAIAAQWAVn5E4fpZwAAAG4AAAAVAAAAAAAAAAAAIAC2gWAAAABmdW5jdGlvbnMvZ3JlZXRpbmcuanNQSwECLQMUAAgACAAEFgFZ16DW1X0AAAC1AAAADQAAAAAAAAAAACAAtoEKAQAAcnVsZXNldDIueWFtbFBLAQItAxQACAAIABwYAVnKPSfDBQAAAAMAAAAFAAAAAAAAAAAAIAC2gcIBAAB6LnR4dFBLBQYAAAAABQAFABwBAAD6AQAAAAA="; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters