Skip to content

Toolクラスの非推奨について #3

@KAWAHARA-souta

Description

@KAWAHARA-souta

related to #1

cyclonedx/model/tool.py内において,Toolクラスは以下のように宣言され,またコメントがかかれている.

 39 @serializable.serializable_class                                              
 40 class Tool:                                                                   
 41     """                                                                       
 42     This is our internal representation of the `toolType` complex type within the CycloneDX standard.     
 43                                                                                                   
 44     Tool(s) are the things used in the creation of the CycloneDX document.                                                                           
 45                                                                                                                                                    
 46     Tool might be deprecated since CycloneDX 1.5, but it is not deprecated in this library.             
 47     In fact, this library will try to provide a compatibility layer if needed.
 48                                                                                                                                                      
 49     .. note::                                                                 
 50         See the CycloneDX Schema for toolType: https://cyclonedx.org/docs/1.6/#type_toolType

コメントには,Toolクラスはcyclonedx1.5でdeprecatedされているようであるとかかれている.
これが本当であるかの事実確認.およびなんらかのコードの修正が必要な場合には具体的にどうすべきかを調査する.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions