zqr10159 opened a new pull request, #4293:
URL: https://github.com/apache/hertzbeat/pull/4293

   ## Summary
   
   - add an expected SFTP server host-key fingerprint to the FTP protocol 
definition
   - apply the fingerprint verifier before connecting and authenticating
   - expose an explicit compatibility opt-out and the corresponding 
app-definition fields
   
   ## Validation
   
   - `./mvnw -pl hertzbeat-collector/hertzbeat-collector-basic -am 
-Dtest=FtpProtocolTest,FtpCollectImplTest test -DskipITs 
-Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false`
   - parsed `hertzbeat-manager/src/main/resources/define/app-ftp.yml` with Ruby 
YAML
   - `git diff --check`
   
   AI assistance: used for draft implementation and test iteration.
   Human validation: all 13 focused protocol and collector tests passed across 
the six-module reactor, including generated-key match and mismatch cases; 
Checkstyle and YAML parsing passed.
   Risk notes: SFTP configurations now require a host-key fingerprint unless 
the explicit compatibility opt-out is selected; existing SFTP monitors need one 
of those fields configured.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to