Skip to content

Commit 58c2f13

Browse files
TheDonLukeMike LucadamoMike Kennedy
authored
Add 2025-04-01-preview API support for Firmware analysis (Azure#49133)
* removing generated files * more rename things adding another rename, removing the renames that aren't needed anymore * more renames to match the state of the API * final commit of new API support * updating the readme file * adding quickstart guide * updating changelog for next release * fixing the heading so the build pipe is happy * removing the quickstart guide until PMs can provide further guidance * adding generated files per request * updating the cspell file with changes we made in the API cspell * updating assets file for updated test recordings * reverting requested changes per PR comments * regenerating code after reverting requested files * Begin adding customizations to shim in backwards compatible methods Also addressed some review comments via autorest renames * fixing customizations * flatten all the models because that's how the old version had it * down to 73 build errors * removing duplicate entries in the cspell file * adding shims to fix errors * it builds. finally. * regenerating again * updating test assets * clean up from code review comments * Flattened the IoTFirmwarePatch model * further customization cleanup from code review * updated model factory to call factory methods instead of internal constructors updated sku update model name * don't add a random sku just use null * use empty constructor * removing auto-gen comments since the customization files aren't generated. * adding more editorbrowser never attribs * forgot to regen the API files after making latest changes --------- Co-authored-by: Mike Lucadamo <[email protected]> Co-authored-by: Mike Kennedy <[email protected]>
1 parent 11fa9b7 commit 58c2f13

File tree

147 files changed

+10392
-3665
lines changed

Some content is hidden

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

147 files changed

+10392
-3665
lines changed

.vscode/cspell.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,13 +1629,14 @@
16291629
{
16301630
"filename": "**/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/**/*.cs",
16311631
"words": [
1632-
"RELRO",
1633-
"Relro",
16341632
"relro",
1635-
"Rpath",
16361633
"rpath",
16371634
"runpath",
1638-
"Cves"
1635+
"cves",
1636+
"ocsp",
1637+
"sbom",
1638+
"diffie",
1639+
"iotfirmwaredefense"
16391640
]
16401641
},
16411642
{
@@ -1699,4 +1700,4 @@
16991700
}
17001701
],
17011702
"allowCompoundWords": true
1702-
}
1703+
}

sdk/iot/Azure.ResourceManager.IotFirmwareDefense/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44

55
### Features Added
66

7+
- Updated Microsoft.IoTfirmwareDefense API version to `2025-04-01-preview`
8+
- Added new get operations for fetching workspace usage metrics
9+
710
### Breaking Changes
811

12+
- Renamed models as per previous API/SDK review instructions to align with standard naming conventions
13+
914
### Bugs Fixed
1015

1116
### Other Changes

sdk/iot/Azure.ResourceManager.IotFirmwareDefense/README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1-
# Microsoft Azure IotFirmwareDefense management client library for .NET
1+
# Azure firmware analysis client library for .NET
22

3-
The Defender for Iot Firmware Analysis SDK is your comprehensive, feature-rich toolkit for firmware analysis.
4-
5-
This SDK is your definitive guide through the amalgamation of firmware SBOM (Software Bill of Materials), the known threat vectors of CVE (Common Vulnerabilities and Exposures) weaknesses, and the last bastion of firmware security: binary hardening. Whether you're wrestling with web apps, desktop applications, or the intricate world of CI/CD pipelines, this dynamic kit has you covered.
6-
7-
This powerhouse SDK also can extract password hashes and perform cryptographic analysis. Think of it as cheat codes for developers, a treasure map to the hidden intricacies of secure firmware analysis.
8-
9-
Be warned, though, this isn't an easy ride. Sometimes the right tool might seem elusive, or the instructions might appear as an IKEA manual penned in ancient hieroglyphs. But, armed with this powerful and versatile SDK, you're ready to brave the uncharted frontiers of firmware analysis for your projects!
3+
Firmware analysis is a tool that analyzes firmware images and provides an understanding of security vulnerabilities in the firmware images. The analysis results include SBOM (Software Bill of Materials), CVE (Common Vulnerabilities and Exposures), binary hardening, password hashes, and weak or expired certificates.
104

115
This library follows the [new Azure SDK guidelines](https://azure.github.io/azure-sdk/general_introduction.html), and provides many core capabilities:
126

sdk/iot/Azure.ResourceManager.IotFirmwareDefense/api/Azure.ResourceManager.IotFirmwareDefense.net8.0.cs

Lines changed: 410 additions & 23 deletions
Large diffs are not rendered by default.

sdk/iot/Azure.ResourceManager.IotFirmwareDefense/api/Azure.ResourceManager.IotFirmwareDefense.netstandard2.0.cs

Lines changed: 410 additions & 23 deletions
Large diffs are not rendered by default.

sdk/iot/Azure.ResourceManager.IotFirmwareDefense/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "net",
44
"TagPrefix": "net/iot/Azure.ResourceManager.IotFirmwareDefense",
5-
"Tag": "net/iot/Azure.ResourceManager.IotFirmwareDefense_628ceee22c"
5+
"Tag": "net/iot/Azure.ResourceManager.IotFirmwareDefense_9f71db4596"
66
}

sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisSummaryCollection.cs

Lines changed: 40 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisSummaryResource.cs

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)