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

Feed sync #389

Closed
wants to merge 24 commits into from
Closed

Feed sync #389

wants to merge 24 commits into from

Conversation

syspect-sec
Copy link
Contributor

What

Adding the file feed-sync.md to the src main directory and adding the feed-sync to the TOC in the main index.md file

Why

To provide additional documentation to support GB CE portal.

syspect-tech and others added 13 commits June 13, 2023 12:31
Fixing the commands that create Redis configuration files for systemd to execute the entire command as sudo privs.
This command to install dependencies leaves out sudo
Fix command to install dependencies missing sudo
The first version of a comprehensive feed synchronization documentation.
The first draft of a comprehensive Greenbone feed sync instruction manual
@syspect-sec syspect-sec requested a review from a team as a code owner September 14, 2023 15:34
@syspect-sec
Copy link
Contributor Author

Hey, just submitting the comprehensive feed-sync docs as discussed with Bjorn.

src/feed-sync.md Outdated
- `/usr/local/sbin/greenbone-feed-sync` or `/usr/sbin/greenbone-feed-sync`: This is the old sync script written in bash to download CERT, SCAP, and GVMD_DATA. It is no longer installed by default since gvmd 22.5.0.

### Deprecated Sync Script Removal
If you have any of the deprecated sync scripts (`greenbone-certdata-sync`, `greenbone-scapdata-sync`, `greenbone-nvt-sync`, `/usr/local/sbin/greenbone-feed-sync` or `/usr/sbin/greenbone-feed-sync`) installed, it is recommended to remove them. This step ensures a clean transition to the new sync script.
Copy link
Contributor

Choose a reason for hiding this comment

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

This can lead to mistakes because installing the grenbone-feed-sync python project will also install greenbone-certdata-sync, greenbone-scapdata-sync and greenbone-nvt-sync scripts that just use the new greenbone-feed-sync script with the desired type of feed. The only clear difference is that the old scripts are installed into an sbin directory and the new ones will be put into a bin directory.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have modified this in the new commit which I will push later today.

src/feed-sync.md Outdated Show resolved Hide resolved
src/feed-sync.md Outdated Show resolved Hide resolved
src/feed-sync.md Outdated Show resolved Hide resolved
src/feed-sync.md Outdated
```
```sh
# If the legacy bash feed update script is active you will see
head -1 /usr/local/bin/greenbone-feed-sync
Copy link
Contributor

Choose a reason for hiding this comment

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

AFAIK the old script is always installed into sbin via gvmd's make file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have modified this in the new commit which I will push later today.

src/feed-sync.md Outdated Show resolved Hide resolved
src/feed-sync.md Show resolved Hide resolved
src/feed-sync.md Show resolved Hide resolved
src/feed-sync.md Outdated Show resolved Hide resolved
src/feed-sync.md Outdated Show resolved Hide resolved
src/feed-sync.md Show resolved Hide resolved
src/index.md Outdated Show resolved Hide resolved
Co-authored-by: Björn Ricks <[email protected]>
@greenbonebot greenbonebot enabled auto-merge (rebase) October 30, 2023 03:58
auto-merge was automatically disabled October 30, 2023 03:58

Head branch was pushed to by a user without write access

Co-authored-by: Björn Ricks <[email protected]>
@greenbonebot greenbonebot enabled auto-merge (rebase) October 30, 2023 03:59
Co-authored-by: Björn Ricks <[email protected]>
auto-merge was automatically disabled October 30, 2023 03:59

Head branch was pushed to by a user without write access

@greenbonebot greenbonebot enabled auto-merge (rebase) October 30, 2023 03:59
auto-merge was automatically disabled October 30, 2023 03:59

Head branch was pushed to by a user without write access

Co-authored-by: Björn Ricks <[email protected]>
@greenbonebot greenbonebot enabled auto-merge (rebase) October 30, 2023 04:00
auto-merge was automatically disabled October 30, 2023 04:00

Head branch was pushed to by a user without write access

Co-authored-by: Björn Ricks <[email protected]>
@greenbonebot greenbonebot enabled auto-merge (rebase) October 30, 2023 04:00
auto-merge was automatically disabled October 30, 2023 04:00

Head branch was pushed to by a user without write access

Co-authored-by: Björn Ricks <[email protected]>
@greenbonebot greenbonebot enabled auto-merge (rebase) October 30, 2023 04:00
Co-authored-by: Björn Ricks <[email protected]>
auto-merge was automatically disabled October 30, 2023 04:00

Head branch was pushed to by a user without write access

@greenbonebot greenbonebot enabled auto-merge (rebase) October 30, 2023 04:00
Co-authored-by: Björn Ricks <[email protected]>
auto-merge was automatically disabled October 30, 2023 04:03

Head branch was pushed to by a user without write access

@greenbonebot greenbonebot enabled auto-merge (rebase) October 30, 2023 04:04
@syspect-sec
Copy link
Contributor Author

I did my best to navigate this PR with comments. I am not very fluent in reviewing GitHub PR since I mostly manage my own repositories solo and don't have to merge with other developers. I'll do my best to manage it properly, but it will take some learning curve for me. Sorry for any mistakes with the GitHub process.

auto-merge was automatically disabled November 14, 2023 03:10

Head branch was pushed to by a user without write access

@greenbonebot greenbonebot enabled auto-merge (rebase) November 14, 2023 03:10
auto-merge was automatically disabled January 17, 2024 07:57

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants