Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧹 improve microsoft.application resource #4551

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

chris-rock
Copy link
Member

@chris-rock chris-rock commented Aug 13, 2024

Get the referenced service principle (enterprise application)

microsoft.application(name: "chris-mac-testing").servicePrincipal

App Manifest

We also expose more details about your application so that those can be verified automatically:

cnspec> microsoft.application(name: "chris-mac-testing") { info api spa }
microsoft.application: {
  api: {
    acceptMappedClaims: null
    knownClientApplications: []
    oauth2PermissionScopes: []
    preAuthorizedApplications: []
    requestedAccessTokenVersion: null
  }
  info: {
    logoUrl: null
    marketingUrl: null
    privacyStatementUrl: "https://example.com/privacy"
    supportUrl: null
    termsOfServiceUrl: "https://example.com/terms"
  }
  spa: {
    redirectUris: []
  }
}

**Get the referenced service principle (enterprise application)**

```javascript
microsoft.application(name: "chris-mac-testing").servicePrincipal
```

**App Manifest**

We also expose more details about your application so that those can be verified automatically:

```javascript
cnspec> microsoft.application(name: "chis-mac-testing") { info api spa }
microsoft.application: {
  api: {
    acceptMappedClaims: null
    knownClientApplications: []
    oauth2PermissionScopes: []
    preAuthorizedApplications: []
    requestedAccessTokenVersion: null
  }
  info: {
    logoUrl: null
    marketingUrl: null
    privacyStatementUrl: "https://example.com/privacy"
    supportUrl: null
    termsOfServiceUrl: "https://example.com/terms"
  }
  spa: {
    redirectUris: []
  }
}
```
Copy link
Contributor

Test Results

3 097 tests  ±0   3 096 ✅ ±0   1m 22s ⏱️ -9s
  370 suites ±0       1 💤 ±0 
   28 files   ±0       0 ❌ ±0 

Results for commit efbc0f3. ± Comparison against base commit 085725a.

@chris-rock chris-rock merged commit 1e9b051 into main Aug 15, 2024
15 checks passed
@chris-rock chris-rock deleted the chris-rock/improve-ms365-application branch August 15, 2024 12:40
@github-actions github-actions bot locked and limited conversation to collaborators Aug 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants