Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1609,6 +1609,10 @@
"type": "boolean",
"description": "Whether the bot is in an isolated network"
},
"disableLocalAuth": {
"type": "boolean",
Copy link
Member

@mentat9 mentat9 Jul 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

boolean

ARM guidance is to discourage booleans in favor of string enums, e.g. localAuthType { Required, NotRequired }. These are usually easier for customers to understand and use, are extensible to more than two values, and can save complexity by eliminating invalid combinations of multiple booleans. This isn't a requirement, but you should consider it. #Resolved

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is the type expected of that property. Just reusing as is per the guiding doc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is the type expected of that property. Just reusing as is per the guiding doc.

"description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication."
},
"schemaTransformationVersion": {
"type": "string",
"description": "The channel schema transformation version for the bot"
Expand Down Expand Up @@ -2137,6 +2141,10 @@
"type": "string",
"description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty."
},
"scopes": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scopes

How are multiple values separated? Generally collections should not be encoded in strings if their members need to be consumed indvidually.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@youyu16 can you respond to this?

Copy link
Contributor

@youyu16 youyu16 Jul 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it will separated by ",", example, "channels:history,channels:read", this is an URL parameter.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I'd recommend updating the description to explain the format, but won't block ARM signoff.

"type": "string",
"description": "The Slack permission scopes."
},
"landingPageUrl": {
"type": "string",
"description": "The Slack landing page Url"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
}
Expand Down Expand Up @@ -72,6 +73,7 @@
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
}
Expand Down Expand Up @@ -109,6 +111,7 @@
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
}
Expand Down Expand Up @@ -72,6 +73,7 @@
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
}
Expand Down Expand Up @@ -111,6 +113,7 @@
"isCmekEnabled": true,
"cmekKeyVaultUrl": "https://myCmekKey",
"isIsolated": false,
"disableLocalAuth": true,
"schemaTransformationVersion": "1.0"
}
}
Expand Down