Skip to content

Commit

Permalink
Initial Public Commit (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
adthom committed Feb 16, 2024
1 parent 8d01f9b commit f2085fc
Show file tree
Hide file tree
Showing 102 changed files with 11,425 additions and 16 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Global Code Owners
* @adthom @Justw-MSFT
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: 2
updates:
- package-ecosystem: "nuget"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
13 changes: 10 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore

# Azure Functions localsettings file
local.settings.json

# Azurite files
__azurite*.json
__blobstorage__/
__queuestorage__/

# User-specific files
*.rsuser
Expand Down Expand Up @@ -395,4 +401,5 @@ FodyWeavers.xsd
*.msp

# JetBrains Rider
*.sln.iml
.idea/
*.sln.iml
6 changes: 6 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
"ms-azuretools.vscode-azurefunctions",
"ms-dotnettools.csharp"
]
}
11 changes: 11 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach to .NET Functions",
"type": "coreclr",
"request": "attach",
"processId": "${command:azureFunctions.pickProcess}"
}
]
}
21 changes: 21 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"azureFunctions.deploySubpath": "src/bin/Release/net6.0/publish",
"azureFunctions.projectLanguage": "C#",
"azureFunctions.projectRuntime": "~4",
"debug.internalConsoleOptions": "neverOpen",
"azureFunctions.preDeployTask": "publish (functions)",
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/__azurite_db_blob*.json": true,
"**/__blobstorage__": true,
".vs": true,
"**/obj": true,
"**/bin": true
},
"azureFunctions.projectSubpath": "src\\Functions"
}
69 changes: 69 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "clean (functions)",
"command": "dotnet",
"args": [
"clean",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"type": "process",
"problemMatcher": "$msCompile"
},
{
"label": "build (functions)",
"command": "dotnet",
"args": [
"build",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"type": "process",
"dependsOn": "clean (functions)",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": "$msCompile"
},
{
"label": "clean release (functions)",
"command": "dotnet",
"args": [
"clean",
"--configuration",
"Release",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"type": "process",
"problemMatcher": "$msCompile"
},
{
"label": "publish (functions)",
"command": "dotnet",
"args": [
"publish",
"--configuration",
"Release",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"type": "process",
"dependsOn": "clean release (functions)",
"problemMatcher": "$msCompile"
},
{
"type": "func",
"dependsOn": "build (functions)",
"options": {
"cwd": "${workspaceFolder}/src/bin/Debug/net6.0"
},
"command": "host start",
"isBackground": true,
"problemMatcher": "$func-dotnet-watch"
}
]
}
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ Resources:

- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
- Contact [[email protected]](mailto:[email protected]) with questions or concerns
- Contact [[email protected]](mailto:[email protected]) with questions or concerns
36 changes: 36 additions & 0 deletions CallRecordInsights.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.6.33801.468
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CallRecordInsights.Functions", "src\Functions\CallRecordInsights.Functions.csproj", "{DD68CDDE-4E23-47E3-8173-2799F7FC7C54}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CallRecordInsights.Flattener", "src\Flattener\CallRecordInsights.Flattener.csproj", "{EA094B49-D23B-457B-A7EC-B4CDD4409F8E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{EA4A8EC6-E390-476F-A0B4-9B9F4DDD805A}"
ProjectSection(SolutionItems) = preProject
src\.editorconfig = src\.editorconfig
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DD68CDDE-4E23-47E3-8173-2799F7FC7C54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DD68CDDE-4E23-47E3-8173-2799F7FC7C54}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DD68CDDE-4E23-47E3-8173-2799F7FC7C54}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DD68CDDE-4E23-47E3-8173-2799F7FC7C54}.Release|Any CPU.Build.0 = Release|Any CPU
{EA094B49-D23B-457B-A7EC-B4CDD4409F8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EA094B49-D23B-457B-A7EC-B4CDD4409F8E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EA094B49-D23B-457B-A7EC-B4CDD4409F8E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EA094B49-D23B-457B-A7EC-B4CDD4409F8E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {EFF0E08A-B789-4B7C-AF75-CF9D0FCFC01A}
EndGlobalSection
EndGlobal
4 changes: 4 additions & 0 deletions CallRecordsInsightsThreatModel.tm7

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Microsoft.Azure.Cosmos" Version="3.38.1" />
<PackageVersion Include="Microsoft.Azure.WebJobs.Extensions.EventHubs" Version="6.0.2" />
<PackageVersion Include="Microsoft.Azure.WebJobs.Extensions.Storage.Blobs" Version="5.2.2" />
<PackageVersion Include="Microsoft.Azure.WebJobs.Extensions.Storage.Queues" Version="5.2.1" />
<PackageVersion Include="Microsoft.Graph" Version="5.41.0" />
<PackageVersion Include="Microsoft.Identity.Web" Version="2.16.1" />
<PackageVersion Include="Microsoft.Identity.Web.GraphServiceClient" Version="2.16.1" />
<PackageVersion Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
<PackageVersion Include="Microsoft.NET.Sdk.Functions" Version="4.3.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.6.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
SOFTWARE
36 changes: 27 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,32 @@
# Project
# Microsoft Teams Call Record Insights

> This repo has been populated by an initial template to help get you started. Please
> make sure to update the content to build a great experience for community-building.
## What is Call Record Insights?

As the maintainer of this project, please make a few updates:
Call Record Insights is a turnkey application template for retrieving, parsing, flattening, and storing Microsoft Teams Call Records retrieved via Graph API.

- Improving this README.MD file to provide a great experience
- Updating SUPPORT.MD with content about this project's support experience
- Understanding the security reporting process in SECURITY.MD
- Remove this section from the README
This application enables you to retrieve your tenant's call records, parse them into a meaningful format and store them in Cosmos DB and Kusto without writing any code yourself.

Because this solution uses Cosmos DB it is highly scalable and because it uses Kusto it is very friendly to application development and deep data analysis.

The solution is fully deployed within your own tenant. All data processing and data storage is done in whichever tenant you deploy the application.

1. [High Level Architecture](./docs/high-level-architecture.md)

1. [Requirements](./docs/requirements.md)

1. [Deployment](./docs/deployment.md)

1. [Validation & Verification](./docs/deployment.md#deployment-validation--verification)

1. [Admin Functions](./docs/admin-functions.md)

1. [CosmosDB, Kusto Functions, Views and Queries](./docs/data-explorer-functions-views-queries.md)

1. [Configuration Settings](./docs/function-configuration-settings.md)

1. [Multi Tenant](./docs/multi-tenant-deployment.md)

1. [Troubleshooting](./docs/troubleshooting.md)

## Contributing

Expand All @@ -30,4 +48,4 @@ This project may contain trademarks or logos for projects, products, or services
trademarks or logos is subject to and must follow
[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
Any use of third-party trademarks or logos are subject to those third-party's policies.
Any use of third-party trademarks or logos are subject to those third-party's policies.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ We prefer all communications to be in English.

Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/security.md/cvd).

<!-- END MICROSOFT SECURITY.MD BLOCK -->
<!-- END MICROSOFT SECURITY.MD BLOCK -->
2 changes: 1 addition & 1 deletion SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ CHANNEL. WHERE WILL YOU HELP PEOPLE?**.

## Microsoft Support Policy

Support for this **PROJECT or PRODUCT** is limited to the resources listed above.
Support for this **PROJECT or PRODUCT** is limited to the resources listed above.
84 changes: 84 additions & 0 deletions deploy/bicep/GraphChangeNotificationSubnets.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
// See: https://learn.microsoft.com/en-us/microsoft-365/enterprise/additional-office365-ip-addresses-and-urls for more information
{
"AzureCloud": [
"52.159.23.209/32",
"52.159.17.84/32",
"13.78.204.0/32",
"52.147.213.251/32",
"52.147.213.181/32",
"20.127.53.125/32",
"70.37.95.92/32",
"70.37.95.11/32",
"70.37.92.195/32",
"20.9.36.45/32",
"20.9.35.166/32",
"20.9.36.128/32",
"20.96.21.67/32",
"20.69.245.215/32",
"104.46.117.15/32",
"137.135.11.161/32",
"137.135.11.116/32",
"20.253.156.113/32",
"52.159.107.50/32",
"52.159.107.4/32",
"52.159.124.33/32",
"20.98.68.182/32",
"20.98.68.57/32",
"20.98.68.200/32",
"20.171.81.121/32",
"20.25.189.138/32",
"20.171.82.192/32",
"52.142.114.29/32",
"52.142.115.31/32",
"20.223.139.245/32",
"51.124.75.43/32",
"51.124.73.177/32",
"104.40.209.182/32",
"20.199.102.157/32",
"20.199.102.73/32",
"20.216.150.67/32",
"20.91.212.211/32",
"20.91.212.136/32",
"20.91.213.57/32",
"20.44.210.83/32",
"20.44.210.146/32",
"20.212.153.162/32",
"40.80.232.177/32",
"40.80.232.118/32",
"52.231.196.24/32",
"20.48.12.75/32",
"20.48.11.201/32",
"20.89.108.161/32",
"104.215.13.23/32",
"104.215.6.169/32",
"20.89.240.165/32"
],
"AzureUSGovernment": [
"52.244.33.45/32",
"52.244.35.174/32",
"52.243.157.104/32",
"52.243.157.105/32",
"52.182.25.254/32",
"52.182.25.110/32",
"52.181.25.67/32",
"52.181.25.66/32",
"52.244.111.156/32",
"52.244.111.170/32",
"52.243.147.249/32",
"52.243.148.19/32",
"52.182.32.51/32",
"52.182.32.143/32",
"52.181.24.199/32",
"52.181.24.220/32"
],
"AzureChinaCloud": [
"42.159.72.35/32",
"42.159.72.47/32",
"42.159.180.55/32",
"42.159.180.56/32",
"40.125.138.23/32",
"40.125.136.69/32",
"40.72.155.199/32",
"40.72.155.216/32"
]
}
Loading

0 comments on commit f2085fc

Please sign in to comment.