GSA / GSA/ansible-https-proxy

Set Ownership on NGINX Directories and Files

Đang mở
#3 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
10
Fork
5
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

>Draft CIS Benchmark 1.1.4

## Description
The NGINX directories and files should be owned by `root `with the `root `(or root equivalent) group. This applies to all of the NGINX software directories and files installed. The only expected exception is that the NGINX web document root (`$NGINX\_PREFIX/html`) are likely to need a designated group to allow web content to be updated (such as webupdate) through a change management process.

## Rationale
Securing NGINX files and directories will reduce the probability of unauthorized modifications to those resources.

## Remediation
Perform the following: Set ownership on the $NGINX\_PREFIX directories such as `/usr/local/nginx: ` ``` # chown -R root:root $NGINX_PREFIX ```

## Audit
1. Identify files in the NGINX directory that are not owned by `root`: ``` # find $NGINX_PREFIX \! -user root -ls ```
2. Identify files in the NGINX directories other than html documents with a group other than `root`: ``` # find $NGINX_PREFIX -path $NGINX_PREFIX/html -prune -o \! -group root -ls ```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.