Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuskimmina committed Oct 16, 2023
1 parent bd6b15c commit ef9f1f3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions providers/atlassian/resources/atlassian.lr
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
option provider = "go.mondoo.com/cnquery/providers/atlassian"
option go_package = "go.mondoo.com/cnquery/providers/atlassian/resources"

// Cross-domain Identity Management (SCIM)
atlassian.scim {
// SCIM users
users() []atlassian.scim.organization.scim.user
// SCIM groups
groups() []atlassian.scim.organization.scim.group
}

// SCIM user
atlassian.scim.user @defaults("id") {
// ID
id string
Expand All @@ -21,13 +23,15 @@ atlassian.scim.user @defaults("id") {
title string
}

// SCIM group
atlassian.scim.group @defaults("id") {
// ID
id string
// Name
name string
}

// Organization
atlassian.admin.organization @defaults("id") {
// Organization ID
id string
Expand All @@ -43,6 +47,7 @@ atlassian.admin.organization @defaults("id") {
managedUsers() []atlassian.admin.organization.managedUsers
}

// Managed users
atlassian.admin.organization.managedUsers {
// ID
id string
Expand All @@ -56,6 +61,7 @@ atlassian.admin.organization.managedUsers {
lastActive string
}

// Policies (except authentication policies)
atlassian.admin.organization.policy @defaults("id") {
// Policy ID
id string
Expand All @@ -69,6 +75,7 @@ atlassian.admin.organization.policy @defaults("id") {
status string
}

// Domains
atlassian.admin.organization.domain @defaults("id") {
// Domain ID
id string
Expand All @@ -78,6 +85,7 @@ atlassian.admin.organization.domain @defaults("id") {
type string
}

// Jira
atlassian.jira {
// Jira users
users() []atlassian.jira.user
Expand All @@ -91,6 +99,7 @@ atlassian.jira {
serverInfos() atlassian.jira.serverInfo
}

// Issue
atlassian.jira.issue @defaults("id") {
// ID
id string
Expand All @@ -102,6 +111,7 @@ atlassian.jira.issue @defaults("id") {
description string
}

// Jira server info
atlassian.jira.serverInfo @defaults("serverTitle") {
// BaseUrl
baseUrl string
Expand All @@ -113,6 +123,7 @@ atlassian.jira.serverInfo @defaults("serverTitle") {
deploymentType string
}

// Jira user
atlassian.jira.user @defaults("id") {
// AccountID
id string
Expand All @@ -129,13 +140,15 @@ atlassian.jira.user @defaults("id") {
}


// Jira application role
atlassian.jira.applicatonRole @defaults("id") {
// Role ID
id string
// Role Name
name string
}

// Jira project
atlassian.jira.project @defaults("id") {
// Project ID
id string
Expand All @@ -159,23 +172,27 @@ atlassian.jira.project @defaults("id") {
properties() []atlassian.jira.project.property
}

// Jira project property
atlassian.jira.project.property @defaults("id") {
// Property Key
id string
}

// Jira group
atlassian.jira.group @defaults("id") {
// GroupID
id string
// Group Name
name string
}

// Confluence
atlassian.confluence {
// Confluence users
users() []atlassian.confluence.user
}

// Confluence user
atlassian.confluence.user @defaults("id") {
// AccountID
id string
Expand Down

0 comments on commit ef9f1f3

Please sign in to comment.