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

Added documentation for FGAC for Flow Framework #8076

Merged
merged 10 commits into from
Aug 28, 2024

Conversation

owaiskazi19
Copy link
Member

@owaiskazi19 owaiskazi19 commented Aug 23, 2024

Description

Added documentation for FGAC for Flow Framework.
Reference PR opensearch-project/flow-framework#838
Reference Issue opensearch-project/flow-framework#668

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

Version

2.17

Frontend features

If you're submitting documentation for an OpenSearch Dashboards feature, add a video that shows how a user will interact with the UI step by step. A voiceover is optional.

Checklist

  • By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
    For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link

Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Editorial review -> Merged.

Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer.

When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference). The doc reviewer will arrange for an editorial review.

_automating-configurations/security.md Outdated Show resolved Hide resolved
_automating-configurations/security.md Outdated Show resolved Hide resolved
_automating-configurations/security.md Outdated Show resolved Hide resolved
_automating-configurations/security.md Outdated Show resolved Hide resolved
```json
PUT _cluster/settings
{
"transient": {
Copy link
Member

Choose a reason for hiding this comment

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

should this be transient or persistent? This seems appropriate as an example but not sure we want it in the "how to" section without specifying why one or the other.

Reading further this all seems like an example and should have its own "sample" or "example" header.

Copy link
Member Author

@owaiskazi19 owaiskazi19 Aug 25, 2024

Choose a reason for hiding this comment

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

This section explains the overall flow with the settings that needs be enabled. Not sure if "example" would the right header here

Copy link
Member

Choose a reason for hiding this comment

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

I’ll let the doc review address that.

Signed-off-by: Fanit Kolchina <[email protected]>
@@ -4,31 +4,31 @@ title: Workflow security
nav_order: 25
Copy link
Member Author

Choose a reason for hiding this comment

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

Does the navigation looks good @kolchfa-aws ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I moved this topic down so it's the last in the left nav.

@@ -4,31 +4,31 @@ title: Workflow security
nav_order: 25
---

# Flow Framework Security
# Workflow security
Copy link
Member Author

Choose a reason for hiding this comment

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

@dbwiddis Should we keep it as Workflow security or Flow Framework?

Copy link
Member

Choose a reason for hiding this comment

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

The word "workflow" is commonly used in other places and has led to a lot of confusion. So other than the API and documentation directly relating to it, I'd like to avoid using "workflow".

That said, the left-column header for our plugin is "Automating Configurations" and it seems that may be appropriate as well, although fitting that together with "security" seems awkward.

TLDR: I trust doc writers to pick here. I'm against "Workflow security" and prefer "Flow Framework" if that's the only option, but am very open to other headers.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm equally not sure about the best heading for this topic. I would go with a consistent title "Automating workflows", "Workflow APIs", "Workflow security", etc. But we're already using "Automating configurations" and then everything else mentions "workflows". Adding "Flow Framework" might make the user confused about what we're referencing. That said, I see your point about workflow being a generic concept so I reverted to "Flow Framework security" and added the first sentence that explains that workflows are provided by the Flow Framework plugin. Maybe @natebower can weigh in on this during editorial review.

Copy link
Member

Choose a reason for hiding this comment

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

I think "Workflow Template Security" might be good?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I like that! Let me change to "workflow template security"

Copy link
Collaborator

Choose a reason for hiding this comment

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

@owaiskazi19 @dbwiddis I changed the topic name to "Workflow template security".

Signed-off-by: Fanit Kolchina <[email protected]>
Signed-off-by: Fanit Kolchina <[email protected]>
Signed-off-by: Fanit Kolchina <[email protected]>
* [Delete workflow]({{site.url}}{{site.baseurl}}/automating-configurations/api/delete-workflow/)

For information about workflow API security, see [Workflow security]({{site.url}}{{site.baseurl}}/automating-configurations/workflow-security/).
Copy link
Member Author

Choose a reason for hiding this comment

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

For information about workflow access control, see...

@kolchfa-aws kolchfa-aws added v2.17.0 release-notes PR: Include this PR in the automated release notes labels Aug 27, 2024
Copy link
Collaborator

@natebower natebower left a comment

Choose a reason for hiding this comment

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

@kolchfa-aws @owaiskazi19 Please see my comments and changes and let me know if you have any questions. Thanks!

* [Delete workflow]({{site.url}}{{site.baseurl}}/automating-configurations/api/delete-workflow/)

For information about workflow API security, see [Workflow security]({{site.url}}{{site.baseurl}}/automating-configurations/workflow-security/).
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we mean "API workflow security"?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

"Workflow API security"?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it's fine as is. We're not capitalizing the API name if we're referring to the generic concept (of a workflow, in this case).

_automating-configurations/workflow-security.md Outdated Show resolved Hide resolved
_automating-configurations/workflow-security.md Outdated Show resolved Hide resolved
_automating-configurations/workflow-security.md Outdated Show resolved Hide resolved
_automating-configurations/workflow-security.md Outdated Show resolved Hide resolved
_automating-configurations/workflow-security.md Outdated Show resolved Hide resolved
_automating-configurations/workflow-security.md Outdated Show resolved Hide resolved
_automating-configurations/workflow-security.md Outdated Show resolved Hide resolved
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>
Copy link
Collaborator

@kolchfa-aws kolchfa-aws left a comment

Choose a reason for hiding this comment

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

Thank you, @owaiskazi19!

@kolchfa-aws kolchfa-aws merged commit 39cb029 into opensearch-project:main Aug 28, 2024
5 checks passed
epugh pushed a commit to o19s/documentation-website that referenced this pull request Sep 12, 2024
)

* Added documentation for FGAC for Flow Framework

Signed-off-by: Owais <[email protected]>

* Addressed PR comments

Signed-off-by: Owais <[email protected]>

* Doc review

Signed-off-by: Fanit Kolchina <[email protected]>

* Code format

Signed-off-by: Fanit Kolchina <[email protected]>

* Add link on index page

Signed-off-by: Fanit Kolchina <[email protected]>

* Add link from api page

Signed-off-by: Fanit Kolchina <[email protected]>

* Change title to flow framework security

Signed-off-by: Fanit Kolchina <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>

* Changed to workflow template security

Signed-off-by: Fanit Kolchina <[email protected]>

---------

Signed-off-by: Owais <[email protected]>
Signed-off-by: Fanit Kolchina <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>
Co-authored-by: Fanit Kolchina <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Eric Pugh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes PR: Include this PR in the automated release notes v2.17.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants