[ 
https://issues.apache.org/jira/browse/KNOX-3453?focusedWorklogId=1041377&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1041377
 ]

ASF GitHub Bot logged work on KNOX-3453:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Sep/26 11:22
            Start Date: 14/Sep/26 11:22
    Worklog Time Spent: 10m 
      Work Description: smolnar82 opened a new pull request, #1397:
URL: https://github.com/apache/knox/pull/1397

   [KNOX-3453](https://issues.apache.org/jira/browse/KNOX-3453) - Ignore 
runtime-generated gateway-server/data/security directory in git
   
   ## What changes were proposed in this pull request?
   
   Broadened the `.gitignore` rule from 
`gateway-server/data/security/keystores/*.jceks` (added under KNOX-3328) to the 
entire `gateway-server/data/security/` directory, so runtime-generated security 
material (master secret, keystores, credential stores) can't be accidentally 
committed.
   
   ## How was this patch tested?
   
   `.gitignore`-only change. Verified with `git check-ignore` that `master`, 
keystore, and credential-store files under `gateway-server/data/security/` are 
now matched. Nothing under that path was tracked, so no `git rm --cached` 
cleanup was needed.
   
   ## Integration Tests
   N/A
   
   ## UI changes
   N/A




Issue Time Tracking
-------------------

            Worklog Id:     (was: 1041377)
    Remaining Estimate: 0h
            Time Spent: 10m

> Ignore runtime-generated gateway-server/data/security directory in git
> ----------------------------------------------------------------------
>
>                 Key: KNOX-3453
>                 URL: https://issues.apache.org/jira/browse/KNOX-3453
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: CI
>    Affects Versions: 2.0.0, 2.1.0, 3.0.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>             Fix For: 3.1.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The {{gateway-server/data/security}} directory holds runtime-generated 
> security material (master secret, keystores, credential stores) that should 
> never be committed. Today {{.gitignore}} only excludes 
> {{gateway-server/data/security/keystores/*.jceks}} (added under KNOX-3328). 
> Broaden the rule to ignore the entire {{gateway-server/data/security/}} 
> directory so no security artifacts are accidentally tracked.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to