(data_source)
return techs_with_data_src
returns all techniques which contain the given data source.
returns all techniques which contain the given data source.
returns all techniques which contain the given data source .
def techniques(data_source):
    """returns all techniques which contain the given data source."""
    
    techs_with_data_src = tc_src.query([
        Filter("type", "=", "attack-pattern"),
        Filter("x_mitre_data_sources", "in", data_source)
    ])

    return techs_with_data_src
def techniques ( data_source ) : techs_with_data_src = tc_src . query ( [ Filter ( "type" , "=" , "attack-pattern" ) , Filter ( "x_mitre_data_sources" , "in" , data_source ) ] ) return techs_with_data_src