
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
This rust crate enables someone to get the Azure Active Directory join information for a Windows computer.
To use aad-join-info
, first add this to your Cargo.toml
:
[dependencies]
aad-join-info = "0.1"
use std::error::Error;
fn main() -> Result<(), Box<dyn Error>> {
if let Some(aad_info) = aad_join_info::get_aad_join_info() {
println!("Device ID: {}", aad_info.device_id);
println!("Tenant ID: {}", aad_info.tenant_id);
println!("Tenant Name: {}", aad_info.tenant_name);
println!("Idp Domain: {}", aad_info.idp_domain);
println!("Join Type: {:?}", aad_info.join_type);
println!("Join User Email: {}", aad_info.join_user_email);
println!("MDM Enrollment URL: {}", aad_info.mdm_enrollment_url);
println!("MDM Terms of Use URL: {}", aad_info.mdm_terms_of_use_url);
println!("MDM Compliance URL: {:?}", aad_info.mdm_compliance_url);
println!("User Setting Sync URL: {}", aad_info.user_setting_sync_url);
println!("User Info: {:?}", aad_info.user_info);
} else {
println!("No AAD Join Information found.");
}
Ok(())
}
FAQs
Unknown package
We found that aad-join-info demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.